Fixes interface cleanup issue between virtual and baremetal 83/14883/1
authorTim Rozet <trozet@redhat.com>
Tue, 31 May 2016 14:38:39 +0000 (10:38 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 31 May 2016 14:38:39 +0000 (10:38 -0400)
JIRA: APEX-164

Change-Id: I41bf3869d068812005e2e01c03229b6b4d2628dc
Signed-off-by: Tim Rozet <trozet@redhat.com>
ci/clean.sh

index e5b2f91..ac958f6 100755 (executable)
@@ -51,6 +51,7 @@ done
 for bridge in ${ovs_bridges}; do
   if detach_interface_from_ovs ${bridge} 2> /dev/null; then
     ovs-vsctl del-br ${bridge} 2> /dev/null
+    rm -f /etc/sysconfig/network-scripts/ifcfg-${bridge}
   fi
 done