We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88d3a62 + 7e42430 commit f07e6f5Copy full SHA for f07e6f5
templates/libvirt/xen.xml
@@ -42,7 +42,11 @@
42
and SeaBIOS based on the loader type. This has nothing to
43
do with the hvmloader binary.
44
-->
45
- <loader type="{{ "pflash" if vm.features.check_with_template('uefi', False) else "rom" }}">hvmloader</loader>
+ {% 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 -%}
50
<boot dev="cdrom" />
51
<boot dev="hd" />
52
{% else %}
0 commit comments