You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
I'm using Packer on an M3 Pro MacBook Pro running macOS 14.3. The OVMF UEFI that ships with the qemu Homebrew package does not support the -boot flag; consequently, I provided my own qemuargs to work around this.
It seems that I cannot stop the qemu plugin from adding -boot once=d to my qemu args, even when I explicitly set efi_mode=false per the code I saw here and here.
$: packer version
Packer v1.9.4
Your version of Packer is out of date! The latest version
is 1.11.2. You can update by downloading from www.packer.io/downloads
Simplified Packer Buildfile
If the file is longer than a few dozen lines, please include the URL to the gist of the log or use the Github detailed
format
instead of posting it directly in the issue.
Sorry I only look at your issue today, missed it beforehand.
From the code you linked, I think there's a misunderstanding, the -boot option is only set when you are NOT in UEFI mode, so in your case that is actually expected that -boot once=d is set (or boot c if using a disk image as the base instead of an ISO).
If you want to boot using EDK/OVMF, you need to set uefi_boot = true in your configs, which then will not add -boot to the command-line.
When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.
Overview of the Issue
I'm using Packer on an M3 Pro MacBook Pro running macOS 14.3. The OVMF UEFI that ships with the
qemu
Homebrew package does not support the-boot
flag; consequently, I provided my ownqemuargs
to work around this.It seems that I cannot stop the
qemu
plugin from adding-boot once=d
to myqemu
args, even when I explicitly setefi_mode=false
per the code I saw here and here.Reproduction Steps
test.hcl
Plugin and Packer version
From
packer version
Simplified Packer Buildfile
If the file is longer than a few dozen lines, please include the URL to the
gist of the log or use the Github detailed
format
instead of posting it directly in the issue.
See above.
Operating system and Environment details
macOS 14.3 (Sonoma).
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: