diff options
author | Bill Peck <bpeck@redhat.com> | 2013-01-10 13:45:12 -0500 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2013-01-10 13:45:12 -0500 |
commit | b058ce4d508428b7e69ffc23f0e0fe4f562cf499 (patch) | |
tree | 799582f78884064b179cec94fed8c6119e4f98a5 /kernel | |
parent | 87ced43a1889b7d7c268abeba4b109c91e690888 (diff) | |
download | tests-b058ce4d508428b7e69ffc23f0e0fe4f562cf499.tar.gz tests-b058ce4d508428b7e69ffc23f0e0fe4f562cf499.tar.xz tests-b058ce4d508428b7e69ffc23f0e0fe4f562cf499.zip |
Be sure to remove the old bridge from sysconfig.testing
Diffstat (limited to 'kernel')
-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() |