-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include UEFI loader and nvram in box #1753
Comments
Perhaps this feature could be an extension to what was provided in f498f10, and 64a0764. Example config here. If Problem: Vagrant
|
Some things to note about using auto-selection:
For example, if we try to pick one with: <os firmware='efi'>
<type arch='x86_64' machine='pc-q35-8.1'>hvm</type>
<firmware>
<feature enabled='no' name='enrolled-keys'/>
<feature enabled='no' name='secure-boot'/>
</firmware>
<loader readonly='yes' type='pflash'/>
<nvram/>
<bootmenu enable='no'/>
</os> This is roughly equivalent to the following
This filtering still results in 8 firmwares that meet the criteria: Expand for
|
This would really help with the deliverability of libvirt boxes. Anything we can do to motivate a design decision? On a related topic, what is the best way to document this loader/nvram external requirement? For example, is there a way to flag these 2 parameters in the box' Vagrantfile in order to display an error message indicating these 2 parameters are required when triggering to use the box? |
Is your feature request related to a problem? Please describe.
I'm building QEMU images on a UEFI machine and booting with EFISTUB, so I need to add a UEFI boot entry and use the vars when I boot the machine.
Describe the solution you'd like
Be able to include UEFI
loader
andnvram
in a box. E.g.Describe alternatives you've considered
I'm not overly familiar with all of UEFI but maybe there's a way to add a boot entry that doesn't depend on the UUID of the disk and thus doesn't ever change when rebuilding the image.
EDIT: We can always set the same GUID when creating the disk and use this GUID in the EFI boot entry. Then we'd only need an initial copy of the efivars once.
The text was updated successfully, but these errors were encountered: