summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2013-01-10 13:45:12 -0500
committerBill Peck <bpeck@redhat.com>2013-01-10 13:45:12 -0500
commitb058ce4d508428b7e69ffc23f0e0fe4f562cf499 (patch)
tree799582f78884064b179cec94fed8c6119e4f98a5
parent87ced43a1889b7d7c268abeba4b109c91e690888 (diff)
downloadtests-testing.tar.gz
tests-testing.tar.xz
tests-testing.zip
Be sure to remove the old bridge from sysconfig.testing
-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()