From 0291bd770eae89c24ad4301dcbf619e49c734c77 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Fri, 7 Aug 2020 11:13:04 -0700 Subject: [PATCH] Fix removal of /run directories Signed-off-by: Brad Davidson --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 011fdd0fe8..1e4180e2b7 100755 --- a/install.sh +++ b/install.sh @@ -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}