core-admin/templates/libvirt/devices/net.xml
Marek Marczykowski-Górecki 18f159f8ec
Add IPv6 related VM properties
Add property for IPv6 address ('ip6'). Build default value similarly to
IPv4 - common prefix + QID or Disp ID (for DispVMs).
This all is disabled unless 'ipv6' feature is enabled. It is inherited
from netvm (not template).
Even when enabled, VM may decide to not use it - or simply not support
it.

QubesOS/qubes-issues#718
2017-12-07 01:40:30 +01:00

12 lines
319 B
XML

<interface type="ethernet">
<mac address="{{ vm.mac }}" />
<ip address="{{ vm.ip }}" />
{% if vm.ip6 %}
<ip address="{{ vm.ip6 }}" family='ipv6' />
{% endif %}
<backenddomain name="{{ vm.netvm.name }}" />
<script path="vif-route-qubes" />
</interface>
{# vim : set ft=jinja ts=4 sts=4 sw=4 et : #}