Fix veth cleanup on Ubuntu 15.10
Cope with the @ characters that have started appearing in veth names as of Ubuntu 15.10.
This commit is contained in:
1 parent
4bd18737b7
commit
5dd8584fb6
1 file changed
+1
-1
@@ -694,7 +694,7 @@ destroy_bridge() {
|
||||
done
|
||||
|
||||
# Remove any lingering bridged fastdp, pcap and attach-bridge veths
|
||||
for VETH in $(ip -o link show | grep -o v${CONTAINER_IFNAME}[^:]*) ; do
|
||||
for VETH in $(ip -o link show | grep -o v${CONTAINER_IFNAME}[^:@]*) ; do
|
||||
ip link del $VETH >/dev/null 2>&1 || true
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user