diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-16 03:44:32 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-16 03:44:32 +0100 |
commit | 7911ffbbd2f987ea71378cc610dccadb5db95064 (patch) | |
tree | 06a3260602086c633a86099a6524c104c6603dfe /roles/vm/host/network/templates | |
parent | ch-prometheus: upgrade to bullseye spreadspace/main repo needed for sanoid is... (diff) |
vm/host/network: add workaround for bug in debian bullseye
Diffstat (limited to 'roles/vm/host/network/templates')
-rw-r--r-- | roles/vm/host/network/templates/interfaces.j2 | 3 |
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 |