mirror of https://github.com/k3s-io/k3s.git
Update install.sh
Change from file check to yum check for uninstall script Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com>pull/2536/head
parent
66d87698fd
commit
25d2ce435b
|
@ -674,7 +674,7 @@ rm -rf /var/lib/kubelet
|
|||
rm -f ${BIN_DIR}/k3s
|
||||
rm -f ${KILLALL_K3S_SH}
|
||||
|
||||
if [ -r /etc/redhat-release ] || [ -r /etc/centos-release ] || [ -r /etc/oracle-release ]; then
|
||||
if type yum >/dev/null 2>&1; then
|
||||
yum remove -y k3s-selinux
|
||||
rm -f /etc/yum.repos.d/rancher-k3s-common*.repo
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue