From 971f15ba30401dc1f5886f0f5ac97cb2ba345a49 Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:59:10 -0500 Subject: [PATCH] feat: update cloud-init var and add additional_packages var --- builds/linux/ubuntu/22-04-lts/variables.pkr.hcl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/builds/linux/ubuntu/22-04-lts/variables.pkr.hcl b/builds/linux/ubuntu/22-04-lts/variables.pkr.hcl index 720fb8d..40950a2 100644 --- a/builds/linux/ubuntu/22-04-lts/variables.pkr.hcl +++ b/builds/linux/ubuntu/22-04-lts/variables.pkr.hcl @@ -171,7 +171,7 @@ variable "vm_vlan_tag" { // Cloud-Init Settings -variable "vm_cloud_init_enable" { +variable "vm_cloudinit" { type = bool description = "Enable or disable cloud-init drive in Proxmox. (e.g. false)" default = false @@ -295,3 +295,10 @@ variable "common_hcp_packer_registry_enabled" { default = false } +// Additional Settings + +variable "additional_packages" { + type = list(string) + description = "Additional packages to install." + default = [] +} \ No newline at end of file