Merge "Fix ovs-vsctl executed in worlddump.py failed issue"
This commit is contained in:
commit
b8680711a6
@ -88,7 +88,8 @@ def _header(name):
|
|||||||
|
|
||||||
|
|
||||||
def _bridge_list():
|
def _bridge_list():
|
||||||
process = subprocess.Popen(['ovs-vsctl', 'list-br'], stdout=subprocess.PIPE)
|
process = subprocess.Popen(['sudo', 'ovs-vsctl', 'list-br'],
|
||||||
|
stdout=subprocess.PIPE)
|
||||||
stdout, _ = process.communicate()
|
stdout, _ = process.communicate()
|
||||||
return stdout.split()
|
return stdout.split()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user