diff --git a/infra-config/04-vm-templates/ubuntu-24.04.03/ubuntu-24.04.pkr.hcl b/infra-config/04-vm-templates/ubuntu-24.04.03/ubuntu-24.04.pkr.hcl index 4b2161f..9d7e7fc 100755 --- a/infra-config/04-vm-templates/ubuntu-24.04.03/ubuntu-24.04.pkr.hcl +++ b/infra-config/04-vm-templates/ubuntu-24.04.03/ubuntu-24.04.pkr.hcl @@ -2,7 +2,7 @@ # LOCALS ################################################################################## -# Reminder to disable the firewall before starting +# Reminder to disable the firewall before starting (or allow port 8543) # sudo systemctl stop firewalld locals { @@ -45,8 +45,6 @@ source "proxmox-iso" "ubuntu-2404" { #pre_enrolled_keys = true } - http_directory = "http" - # VM Cloud-Init Settings cloud_init = true cloud_init_storage_pool = "${var.proxmox_vm_storage_pool}" @@ -63,6 +61,15 @@ source "proxmox-iso" "ubuntu-2404" { boot_wait = "5s" # boot_wait = "${var.vm_boot_wait}" + # PACKER Autoinstall Settings + http_directory = "./http" + + # (Optional) Bind IP Address and Port + # http_bind_address = "10.1.149.166" + http_port = 8543 + # http_port_min = 8543 + # http_port_max = 8543 + sockets = "${var.vm_cpu_sockets}" cores = "${var.vm_cpu_cores}" cpu_type = "host"