From 8093024c368ed3c6d00388e31b4e832a95fc215b Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:21:21 -0600 Subject: [PATCH 1/3] feat: add python to RedHat base packages --- ansible/roles/base/vars/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/base/vars/main.yml b/ansible/roles/base/vars/main.yml index f5a8a78..5a798fa 100644 --- a/ansible/roles/base/vars/main.yml +++ b/ansible/roles/base/vars/main.yml @@ -10,6 +10,7 @@ additional_packages: RedHat: - ca-certificates - curl + - python3 - unzip - wget Suse: From 42f58e5a5109053aec277deb546778e54fe71ef1 Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:22:17 -0600 Subject: [PATCH 2/3] fix: add EFI vars to default block and uncomment default options --- builds/linux-storage.pkrvars.hcl.example | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/builds/linux-storage.pkrvars.hcl.example b/builds/linux-storage.pkrvars.hcl.example index d3eb20a..a451147 100644 --- a/builds/linux-storage.pkrvars.hcl.example +++ b/builds/linux-storage.pkrvars.hcl.example @@ -8,10 +8,15 @@ - Use a size value of -1 to use all remaining space on disk. */ -/* // This section is an example when you want to build a VM with the BIOS bootloader // using a single partition that consumes the entire VM disk. +// BIOS doesn't need EFI settings, but Packer does +// VM EFI Settings +vm_efi_storage_pool = "" +vm_efi_type = "" +vm_efi_pre_enrolled_keys = false + // VM Storage Settings vm_disk_device = "vda" vm_disk_use_swap = true @@ -30,7 +35,6 @@ vm_disk_partitions = [ volume_group = "", }, ] -*/ /* // This section is an example when you want to build a VM with the UEFI bootloader @@ -411,4 +415,4 @@ vm_disk_lvm = [ ], } ] -*/ \ No newline at end of file +*/ From 9c3d39845d77af16dbfd371764443ab37724af21 Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:22:43 -0600 Subject: [PATCH 3/3] fix: add missing vars --- builds/network.pkrvars.hcl.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builds/network.pkrvars.hcl.example b/builds/network.pkrvars.hcl.example index e3f5fdf..cf6c125 100644 --- a/builds/network.pkrvars.hcl.example +++ b/builds/network.pkrvars.hcl.example @@ -5,6 +5,10 @@ */ +// Proxmox settings for VM templates +vm_bridge_interface = "vmbr0" +vm_vlan_tag = "" + // VM Network Settings (default DHCP) // vm_ip_address = "192.168.101.100" // vm_ip_netmask = 24