summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/vm/host/network/templates/interfaces.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/vm/host/network/templates/interfaces.j2 b/roles/vm/host/network/templates/interfaces.j2
index 284c1cb6..0151eb45 100644
--- a/roles/vm/host/network/templates/interfaces.j2
+++ b/roles/vm/host/network/templates/interfaces.j2
@@ -8,7 +8,10 @@ iface lo inet loopback
## pyhiscal interfaces
+{# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990428
{% for interface in network.bonds | default([]) | map(attribute='slaves') | flatten | union(network.vlans | default({}) | list) | difference(network.bonds | default([]) | map(attribute='name') | list) | sort | unique %}
+#}
+{% for interface in network.vlans | default({}) | list | difference(network.bonds | default([]) | map(attribute='name') | list) | sort | unique %}
auto {{ interface }}
iface {{ interface }} inet manual
pre-up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra