Change-Id: I3f706634c81a193132b93cfc7b6cbae6ac795157
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
<vcpu placement='static'>{{ vm.vcpu }}</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-4.2'>hvm</type>
+ {% if 'efi' in vm and vm.efi %}
+ <loader readonly="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M.fd</loader>
+ <nvram>/var/lib/libvirt/qemu/nvram/{% vm.name %}_VARS.fd</nvram>
+ {% endif %}
<bootmenu enable='yes'/>
</os>
<features>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</rng>
</devices>
-</domain>
\ No newline at end of file
+</domain>
net_bridge: 'br102'
# Non-default keys
# cdrom: /path/to/file.iso
- # uuid: xxxx-yyyy
+ # efi: true/false
# name: xyz
+ # uuid: xxxx-yyyy
+
isos:
- url: https://releases.ubuntu.com/jammy/ubuntu-22.04.4-live-server-amd64.iso
checksum: "sha256:45f873de9f8cb637345d6e66a583762730bbea30277ef7b32c9c3bd6700a32b2"