Skip to content

Commit

Permalink
guest.xml.j2: add creation of OVS tap interface
Browse files Browse the repository at this point in the history
Add the creation of an OVS TAP interface by libvirt when a bridge is
defined.

Signed-off-by: Paul Le Guen de Kerneizon <[email protected]>
  • Loading branch information
Paullgk committed Sep 30, 2024
1 parent 44878c7 commit 49d3469
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/vm/guest.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@
<source bridge="{{ bridge.name }}"/>
<mac address="{{ bridge.mac_address }}"/>
<model type="virtio"/>
{% if bridge.type is defined %}
<virtualport type='{{ bridge.type }}'/>
{% endif %}
</interface>
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 49d3469

Please sign in to comment.