alpine: don’t disable IPv6 autoconf on loopback interface
Not sure if it makes a difference but let’s keep the generated config minimal.
This commit is contained in:
parent
7a4a868d41
commit
6a5ebfe5b5
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ iface {{ iface.name }}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
|
|
||||||
{# disable SLAAC if we have a manually set IPv6 address #}
|
{# disable SLAAC if we have a manually set IPv6 address #}
|
||||||
{% if iface.ip_addresses | selectattr("family.value", "==", 6) %}
|
{% if iface.ip_addresses | selectattr("family.value", "==", 6) and iface.name != "lo" %}
|
||||||
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
|
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue