mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #2103 from brandond/fix_2102
Fix removal of /run directories
This commit is contained in:
commit
026584e1f7
@ -619,12 +619,12 @@ for cmd in kubectl crictl ctr; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
rm -rf /etc/rancher/k3s
|
rm -rf /etc/rancher/k3s
|
||||||
|
rm -rf /run/k3s
|
||||||
|
rm -rf /run/flannel
|
||||||
rm -rf /var/lib/rancher/k3s
|
rm -rf /var/lib/rancher/k3s
|
||||||
rm -rf /var/lib/kubelet
|
rm -rf /var/lib/kubelet
|
||||||
rm -f ${BIN_DIR}/k3s
|
rm -f ${BIN_DIR}/k3s
|
||||||
rm -f ${KILLALL_K3S_SH}
|
rm -f ${KILLALL_K3S_SH}
|
||||||
rm -f /run/k3s
|
|
||||||
rm -f /run/flannel
|
|
||||||
EOF
|
EOF
|
||||||
$SUDO chmod 755 ${UNINSTALL_K3S_SH}
|
$SUDO chmod 755 ${UNINSTALL_K3S_SH}
|
||||||
$SUDO chown root:root ${UNINSTALL_K3S_SH}
|
$SUDO chown root:root ${UNINSTALL_K3S_SH}
|
||||||
|
Loading…
Reference in New Issue
Block a user