We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 129a23f commit 56c6ec6Copy full SHA for 56c6ec6
scripts/python/api/tnode.py
@@ -142,7 +142,7 @@ def cleanupContainers(self):
142
# Cleanup all state created by netplugin
143
def cleanupSlave(self):
144
self.runCmd("docker ps -a | grep alpine | awk '{print $1}' | xargs -r docker rm -fv ")
145
- self.runCmd("sudo ovs-vsctl list-br | grep contiv | xargs -I % ovs-vsctl del-br % >/dev/null 2>&1")
+ self.runCmd("sudo ovs-vsctl list-br | grep contiv | xargs -I % sudo ovs-vsctl del-br % >/dev/null 2>&1")
146
self.runCmd("/sbin/ifconfig | grep -e vport | awk '{print $1}' | xargs -r -n1 -I{} sudo ip link delete {} type veth")
147
self.runCmd("sudo rm -f /var/run/docker/plugins/netplugin.sock")
148
self.runCmd("sudo rm -f /tmp/net*")
0 commit comments