diff options
-rwxr-xr-x | kernel/networking/openvswitch/br_to_vswitch/runtest.sh | 5 |
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() |