From 2cf2f865e6e1418e89fcd3a8e1ef0b9e0b4a9d26 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Tue, 8 Oct 2024 23:54:28 -0400 Subject: [PATCH] Set a hard version requirement on the proxmox plugin; updated FreeBSD 14 image to 14.1 --- FreeBSD-14/freebsd-14.pkr.hcl | 8 ++++---- init.pkr.hcl | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/FreeBSD-14/freebsd-14.pkr.hcl b/FreeBSD-14/freebsd-14.pkr.hcl index 4d427c7..c45d49d 100644 --- a/FreeBSD-14/freebsd-14.pkr.hcl +++ b/FreeBSD-14/freebsd-14.pkr.hcl @@ -10,11 +10,11 @@ variable "proxmox_apitoken" { source "proxmox-iso" "freebsd-14" { template_name = "freebsd-14" - template_description = "FreeBSD 14.0, generated on ${timestamp()}" + template_description = "FreeBSD 14.1, generated on ${timestamp()}" vm_id = "202" boot_wait = "10s" boot_key_interval = "200ms" - boot_command = ["", "", "", "", "freebsd", "", "", "", "", "", "", "", "", "", "", "", " ", "", "", "packer", "packer", "", "95", "", "", "", "", " ", " ", "", "xadmin", "Remote admin user", "", "", "wheel", "", "", "", "", "", "", "", "packer", "packer", "", "", "", "", "", "pkg update && pkg install -y bash sudo qemu-guest-agent", "y", "echo 'xadmin ALL=(ALL:ALL) NOPASSWD:ALL' > /usr/local/etc/sudoers.d/xadmin", "echo 'qemu_guest_agent_enable=\"YES\"' >> /etc/rc.conf", "exit", ""] + boot_command = ["", "", "", "", "freebsd", "", "", "", "", "", "", "", "", "", "", "", " ", "", "", "packer", "packer", "", "95", "", "", "", "", " ", " ", "", "xadmin", "Remote admin user", "", "", "wheel", "", "", "", "", "", "", "", "", "packer", "packer", "", "", "", "", "", "pkg update && pkg install -y bash sudo qemu-guest-agent", "y", "echo 'xadmin ALL=(ALL:ALL) NOPASSWD:ALL' > /usr/local/etc/sudoers.d/xadmin", "echo 'qemu_guest_agent_enable=\"YES\"' >> /etc/rc.conf", "exit", ""] os = "other" cores = "2" @@ -39,8 +39,8 @@ source "proxmox-iso" "freebsd-14" { node = "kamino" pool = "Templates" - iso_url = "https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-14.0-RELEASE-amd64-bootonly.iso" - iso_checksum = "sha256:71db8160a2339634bd9fbabbf10dd868148ebc9e1b08c1d8c4e5b954d30941ec" + iso_url = "https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.1/FreeBSD-14.1-RELEASE-amd64-bootonly.iso" + iso_checksum = "sha256:e40f99eaef691b1545149e242d0ca3808bfcd9711a08bd11e2cb5e62d290c884" iso_storage_pool = "iso" unmount_iso = true iso_download_pve = true diff --git a/init.pkr.hcl b/init.pkr.hcl index a045933..3802542 100644 --- a/init.pkr.hcl +++ b/init.pkr.hcl @@ -1,9 +1,8 @@ packer { required_plugins { name = { - version = "~> 1" + version = "1.1.8" source = "github.com/hashicorp/proxmox" } } } -