diff --git a/install.sh b/install.sh index 520f39513631..e87e1c44b171 100755 --- a/install.sh +++ b/install.sh @@ -967,6 +967,9 @@ service_enable_and_start() { return fi + $SUDO iptables-legacy-save | grep -v KUBE- | grep -v CNI- | grep -iv flannel | $SUDO iptables-legacy-restore + $SUDO ip6tables-legacy-save | grep -v KUBE- | grep -v CNI- | grep -iv flannel | $SUDO ip6tables-legacy-restore + [ "${HAS_SYSTEMD}" = true ] && systemd_start [ "${HAS_OPENRC}" = true ] && openrc_start return 0