summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkernel/networking/openvswitch/br_to_vswitch/runtest.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
index bd8e42d..9a149e5 100755
--- a/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
+++ b/kernel/networking/openvswitch/br_to_vswitch/runtest.sh
@@ -64,6 +64,11 @@ OVSBOOTPROTO="dhcp"
OVSDHCPINTERFACES="$device"
EOF
fi
+
+# Remove the old bridge
+if [ -e "/etc/sysconfig/network-scripts/ifcfg-$bridge" ]; then
+ rm -f "/etc/sysconfig/network-scripts/ifcfg-$bridge"
+fi
}
convert_libvirt()