File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 26
26
{# NOTE: pflash requires qemu 1.6 or newer. There are alternatives for older versions, but
27
27
they do not work with secure boot. See OVMF readme for an overview #}
28
28
<loader readonly =' yes' type =' pflash' >{{ libvirt_vm_ovmf_efi_firmware_path }}</loader >
29
- <nvram template =' {{ libvirt_vm_ovmf_efi_variable_store_path }}' />
29
+ <nvram template =' {{ libvirt_vm_ovmf_efi_variable_store_path }}' templateFormat = ' {{ libvirt_vm_ovmf_efi_variable_store_format }} ' />
30
30
{% endif %}
31
31
</os >
32
32
<features >
Original file line number Diff line number Diff line change @@ -15,5 +15,8 @@ libvirt_vm_emulator: /usr/bin/qemu-system-x86_64
15
15
# for each VM created.
16
16
libvirt_vm_ovmf_efi_variable_store_path : /usr/share/OVMF/OVMF_VARS.fd
17
17
18
+ # Format of the template OVMF efi variable store.
19
+ libvirt_vm_ovmf_efi_variable_store_format : raw
20
+
18
21
# Path to OVMF efi firmware
19
22
libvirt_vm_ovmf_efi_firmware_path : /usr/share/OVMF/OVMF_CODE.fd
Original file line number Diff line number Diff line change @@ -15,5 +15,8 @@ libvirt_vm_script_env: >-
15
15
# for each VM created.
16
16
libvirt_vm_ovmf_efi_variable_store_path : " /usr/share/OVMF/{{ 'OVMF_VARS_4M.fd' if ansible_facts.distribution_release == 'noble' else 'OVMF_VARS.fd' }}"
17
17
18
+ # Format of the template OVMF efi variable store.
19
+ libvirt_vm_ovmf_efi_variable_store_format : raw
20
+
18
21
# Path to OVMF efi firmware
19
22
libvirt_vm_ovmf_efi_firmware_path : " /usr/share/OVMF/{{ 'OVMF_CODE_4M.fd' if ansible_facts.distribution_release == 'noble' else 'OVMF_CODE.fd' }}"
Original file line number Diff line number Diff line change @@ -15,5 +15,8 @@ libvirt_vm_script_env: >-
15
15
# for each VM created.
16
16
libvirt_vm_ovmf_efi_variable_store_path : /usr/share/edk2/ovmf/OVMF_VARS.fd
17
17
18
+ # Format of the template OVMF efi variable store.
19
+ libvirt_vm_ovmf_efi_variable_store_format : raw
20
+
18
21
# Path to OVMF efi firmware
19
22
libvirt_vm_ovmf_efi_firmware_path : /usr/share/edk2/ovmf/OVMF_CODE.cc.fd
You can’t perform that action at this time.
0 commit comments