Skip to content
Snippets Groups Projects
Commit 94ff77f2 authored by Rich Lane's avatar Rich Lane
Browse files

clean: don't wait forever for ovsdb

This could happen if OVS was installed but not running.
parent 71ffb002
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ def cleanup():
sh( 'dpctl deldp ' + dp )
info( "*** Removing OVS datapaths" )
dps = sh("ovs-vsctl list-br").split( '\n' )
dps = sh("ovs-vsctl --timeout=1 list-br").split( '\n' )
for dp in dps:
if dp:
sh( 'ovs-vsctl del-br ' + dp )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment