diff --git a/install.sh b/install.sh index 4f5975e78c..9af40e22be 100755 --- a/install.sh +++ b/install.sh @@ -672,6 +672,8 @@ ip link delete cni0 ip link delete flannel.1 ip link delete flannel-v6.1 ip link delete kube-ipvs0 +ip link delete flannel-wg +ip link delete flannel-wg-v6 rm -rf /var/lib/cni/ iptables-save | grep -v KUBE- | grep -v CNI- | grep -v flannel | iptables-restore ip6tables-save | grep -v KUBE- | grep -v CNI- | grep -v flannel | ip6tables-restore diff --git a/package/rpm/install.sh b/package/rpm/install.sh index ed0b4fbba6..cdbd5f48b4 100755 --- a/package/rpm/install.sh +++ b/package/rpm/install.sh @@ -566,6 +566,8 @@ done ip link delete cni0 ip link delete flannel.1 ip link delete flannel-v6.1 +ip link delete flannel-wg +ip link delete flannel-wg-v6 ip link delete kube-ipvs0 rm -rf /var/lib/cni/ iptables-save | grep -v KUBE- | grep -v CNI- | grep -v flannel | iptables-restore