Merge pull request #1614 from sen-subhabrata/master

install.sh: cleanup /run on uninstall
This commit is contained in:
Brad Davidson 2020-08-05 11:26:21 -07:00 committed by GitHub
commit 9137c45cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,6 +623,8 @@ 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}