From a5248bd54caefee6f059cbdc6d3ebe7688b9202d Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Fri, 7 Jul 2023 17:12:20 +0200 Subject: [PATCH] build: Add missing variables --- packer/build.pkr.hcl | 1 + packer/variables.pkr.hcl | 1 + 2 files changed, 2 insertions(+) diff --git a/packer/build.pkr.hcl b/packer/build.pkr.hcl index 2a1b241..cf277a8 100644 --- a/packer/build.pkr.hcl +++ b/packer/build.pkr.hcl @@ -28,6 +28,7 @@ build { extra_arguments = [ "--extra-vars", "appliancetype=${source.name}", + "--extra-vars", "applianceversion=${var.appliance_version}", "--extra-vars", "ansible_ssh_pass=${var.ssh_password}", "--extra-vars", "docker_username=${var.docker_username}", "--extra-vars", "docker_password=${var.docker_password}", diff --git a/packer/variables.pkr.hcl b/packer/variables.pkr.hcl index 9c4cba0..4e9f885 100644 --- a/packer/variables.pkr.hcl +++ b/packer/variables.pkr.hcl @@ -34,4 +34,5 @@ variable "docker_password" { sensitive = true } +variable "appliance_version" {} variable "k8s_version" {}