We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c68372 commit d9f40d4Copy full SHA for d9f40d4
install.sh
@@ -967,6 +967,15 @@ service_enable_and_start() {
967
return
968
fi
969
970
+ if command -v iptables-save &> /dev/null && command -v iptables-restore &> /dev/null
971
+ then
972
+ $SUDO iptables-save | grep -v KUBE- | grep -v CNI- | grep -iv flannel | $SUDO iptables-restore
973
+ fi
974
+ if command -v ip6tables-save &> /dev/null && command -v ip6tables-restore &> /dev/null
975
976
+ $SUDO ip6tables-save | grep -v KUBE- | grep -v CNI- | grep -iv flannel | $SUDO ip6tables-restore
977
978
+
979
[ "${HAS_SYSTEMD}" = true ] && systemd_start
980
[ "${HAS_OPENRC}" = true ] && openrc_start
981
return 0
0 commit comments