diff --git a/install.sh b/install.sh index 93079e1e27..abc2774be7 100755 --- a/install.sh +++ b/install.sh @@ -500,6 +500,7 @@ done ip link delete cni0 ip link delete flannel.1 rm -rf /var/lib/cni/ +iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore EOF $SUDO chmod 755 ${BIN_DIR}/${KILLALL_K3S_SH} $SUDO chown root:root ${BIN_DIR}/${KILLALL_K3S_SH}