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] 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 +*/