Unverified Commit eb867ab6 authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #958 from erikwilson/remove-iptables-killall

Remove iptables on k3s-killall.sh
parents 9a65e909 e3cd52a4
...@@ -500,6 +500,7 @@ done ...@@ -500,6 +500,7 @@ done
ip link delete cni0 ip link delete cni0
ip link delete flannel.1 ip link delete flannel.1
rm -rf /var/lib/cni/ rm -rf /var/lib/cni/
iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore
EOF EOF
$SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH} $SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH}
$SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH} $SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment