From ef329da040a7fef4bf24617fa4147c977e36c36f Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Thu, 18 Apr 2024 11:14:38 -0400 Subject: [PATCH] Got the FreeBSD 14.0 image working --- FreeBSD-14/freebsd-14.pkr.hcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FreeBSD-14/freebsd-14.pkr.hcl b/FreeBSD-14/freebsd-14.pkr.hcl index 7cbc3c1..97ddf4c 100644 --- a/FreeBSD-14/freebsd-14.pkr.hcl +++ b/FreeBSD-14/freebsd-14.pkr.hcl @@ -11,6 +11,9 @@ variable "proxmox_apitoken" { source "proxmox-iso" "freebsd-14" { template_name = "freebsd-14" template_description = "FreeBSD 14.0, generated on ${timestamp()}" + boot_wait = "10s" + boot_key_interval = "250ms" + boot_command = ["", "", "", "", "freebsd", "", "", "", "", "", "", "", "", "", "", "", " ", "", "", "packer", "packer", "", "95", "", "", "", "", " ", " ", "", "xadmin", "Remote admin user", "", "", "wheel", "", "", "", "", "", "", "", "packer", "packer", "", "", "", "", "", "pkg update && pkg install -y sudo qemu-guest-agent", "y", "echo '%wheel ALL=(ALL:ALL) ALL' > /usr/local/etc/sudoers.d/wheel", "echo 'qemu_guest_agent_enable=\"YES\"' >> /etc/rc.conf", "exit", ""] # shutdown_command = "echo 'packer' | sudo -S poweroff" disks { disk_size = "10G"