From 7911ffbbd2f987ea71378cc610dccadb5db95064 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 16 Jan 2022 03:44:32 +0100 Subject: vm/host/network: add workaround for bug in debian bullseye --- roles/vm/host/network/templates/interfaces.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles/vm/host/network') 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 -- cgit v1.2.3