Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
  • Loading branch information
Stromweld committed Mar 1, 2025
1 parent 162153e commit 0a17668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packer_templates/pkr-sources.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ locals {
qemu_binary = var.qemu_binary == null ? "qemu-system-${var.os_arch}" : var.qemu_binary
qemu_display = var.qemu_display == null ? "none" : var.qemu_display
qemu_efi_firmware_code = var.qemu_efi_firmware_code == null ? (
var.os_arch == "aarch64" ? try("/opt/homebrew/share/qemu/edk2-aarch64-code.fd", "/usr/share/OVMF/OVMF_CODE.fd") : null
var.os_arch == "aarch64" ? try("/opt/homebrew/share/qemu/edk2-aarch64-code.fd", "/usr/local/share/qemu/edk2-x86_64-code.fd", "/usr/share/OVMF/OVMF_CODE.fd") : null
) : var.qemu_efi_firmware_code
qemu_efi_firmware_vars = var.qemu_efi_firmware_vars == null ? (
var.os_arch == "aarch64" ? try("/opt/homebrew/share/qemu/edk2-arm-vars.fd", "/usr/share/OVMF/OVMF_VARS.fd") : null
var.os_arch == "aarch64" ? try("/opt/homebrew/share/qemu/edk2-arm-vars.fd", "/usr/local/share/qemu/edk2-i386-vars.fd", "/usr/share/OVMF/OVMF_VARS.fd") : null
) : var.qemu_efi_firmware_vars
qemu_use_default_display = var.qemu_use_default_display == null ? (
var.os_arch == "aarch64" ? true : false
Expand Down

0 comments on commit 0a17668

Please sign in to comment.