summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xxci/playbooks/roles/configure-network/files/network-config-suse2
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/playbooks/roles/configure-network/files/network-config-suse b/xci/playbooks/roles/configure-network/files/network-config-suse
index 1a9f1e7d..02cdd998 100755
--- a/xci/playbooks/roles/configure-network/files/network-config-suse
+++ b/xci/playbooks/roles/configure-network/files/network-config-suse
@@ -8,7 +8,9 @@ if [[ $INTERFACE == "br-vlan" ]]; then
ip link add br-vlan-veth type veth peer name eth12 || true
ip link set br-vlan-veth up
ip link set eth12 up
+ brctl addif br-vlan br-vlan-veth
else
+ brctl delif br-vlan br-vlan-veth
ip link del br-vlan-veth || true
fi
fi