dn42-myip/host0-network.j2

21 lines
331 B
Django/Jinja

[Match]
Name=host0
[Network]
DHCP=true
IPv6AcceptRA=true
LinkLocalAddressing=ipv6
{% if vlan is defined %}
VLAN=br0.{{ vlan }}
{% endif %}
# These route metrics have to be higher than everything else
[DHCPv4]
RouteMetric=2048
[IPv6AcceptRA]
RouteMetric=2048
{% if vlan is undefined %}
{% include 'dn42routes.j2' %}
{% endif %}