From da3d2d3807d358e8651e70f0f3305a97db079cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 16 Mar 2019 16:47:58 +0100 Subject: [PATCH] Update node_reset.sh --- withdraw/node_reset.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/withdraw/node_reset.sh b/withdraw/node_reset.sh index 1aa2cd4..a807dad 100644 --- a/withdraw/node_reset.sh +++ b/withdraw/node_reset.sh @@ -1,8 +1,6 @@ #!/bin/bash kubeadm reset --force -docker system prune -a -docker stop $(docker ps -a -q) -docker rm $(docker ps -a -q) -docker rmi $(docker images -a -q) -#iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -X +iptables -F && iptables -t nat -F && iptables -t mangle -F && \ +iptables -X && iptables -t nat -X && iptables -t mangle -X +service docker restart