Merge pull request #2103 from brandond/fix_2102

Fix removal of /run directories
This commit is contained in:
Erik Wilson 2020-08-07 11:49:58 -07:00 committed by GitHub
commit 026584e1f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -619,12 +619,12 @@ for cmd in kubectl crictl ctr; do
done
rm -rf /etc/rancher/k3s
rm -rf /run/k3s
rm -rf /run/flannel
rm -rf /var/lib/rancher/k3s
rm -rf /var/lib/kubelet
rm -f ${BIN_DIR}/k3s
rm -f ${KILLALL_K3S_SH}
rm -f /run/k3s
rm -f /run/flannel
EOF
$SUDO chmod 755 ${UNINSTALL_K3S_SH}
$SUDO chown root:root ${UNINSTALL_K3S_SH}