Skip to content

Commit c531bb1

Browse files
committed
Add "network" block in default libvirt config template
Ease implementing https://www.qubes-os.org/doc/windows-debugging/
1 parent 9f5152f commit c531bb1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

templates/libvirt/xen.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,11 @@
167167
{% endfor %}
168168
{% endfor %}
169169
170-
{% if vm.netvm %}
171-
{% include 'libvirt/devices/net.xml' with context %}
172-
{% endif %}
170+
{% block network %}
171+
{% if vm.netvm %}
172+
{% include 'libvirt/devices/net.xml' with context %}
173+
{% endif %}
174+
{% endblock %}
173175
174176
{% for assignment in vm.devices.pci.get_assigned_devices(True) %}
175177
{% for device in assignment.devices %}

0 commit comments

Comments
 (0)