diff options
Diffstat (limited to 'xci/playbooks/roles/configure-network')
-rwxr-xr-x | xci/playbooks/roles/configure-network/files/network-config-suse | 2 |
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 |