Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ip -all netns delete
- ip link |grep LINK|awk '{print $2}'|sed s/\@.\*//g > /tmp/links.txt
- while read line
- do
- echo "Deleting link $line"
- ip link delete $line
- done < /tmp/links.txt
- runsc list 2>/dev/null|grep ht_|awk '{print $1}' > /tmp/containers.txt
- while read line
- do
- echo "Deleting container $line"
- runsc delete --force $line
- done < /tmp/containers.txt
Add Comment
Please, Sign In to add comment