lxc-network/lxc_net/templates/nic.network

9 lines
195 B
SYSTEMD
Raw Normal View History

[Match]
MACAddress={{ mac }}
[Network]
DHCP=no
{% if ipv4 %}Address={{ ipv4 }}/{{ ipv4.prefix }}{% endif %}
{% if ipv6 %}Address={{ ipv6 }}/{{ ipv6.prefix }}{% endif %}
LinkLocalAddressing=ipv6