Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/631'
Browse files Browse the repository at this point in the history
* origin/pr/631:
  Fix OVMF path in libvirt xml config
  • Loading branch information
marmarek committed Nov 3, 2024
2 parents 88d3a62 + 7e42430 commit f07e6f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/libvirt/xen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
and SeaBIOS based on the loader type. This has nothing to
do with the hvmloader binary.
-->
<loader type="{{ "pflash" if vm.features.check_with_template('uefi', False) else "rom" }}">hvmloader</loader>
{% if vm.features.check_with_template('uefi', False) -%}
<loader type="pflash">/usr/share/edk2/xen/OVMF.fd</loader>
{% else -%}
<loader type="rom">hvmloader</loader>
{% endif -%}
<boot dev="cdrom" />
<boot dev="hd" />
{% else %}
Expand Down

0 comments on commit f07e6f5

Please sign in to comment.