Skip to content

Commit f07e6f5

Browse files
committed
Merge remote-tracking branch 'origin/pr/631'
* origin/pr/631: Fix OVMF path in libvirt xml config
2 parents 88d3a62 + 7e42430 commit f07e6f5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/libvirt/xen.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@
4242
and SeaBIOS based on the loader type. This has nothing to
4343
do with the hvmloader binary.
4444
-->
45-
<loader type="{{ "pflash" if vm.features.check_with_template('uefi', False) else "rom" }}">hvmloader</loader>
45+
{% if vm.features.check_with_template('uefi', False) -%}
46+
<loader type="pflash">/usr/share/edk2/xen/OVMF.fd</loader>
47+
{% else -%}
48+
<loader type="rom">hvmloader</loader>
49+
{% endif -%}
4650
<boot dev="cdrom" />
4751
<boot dev="hd" />
4852
{% else %}

0 commit comments

Comments
 (0)