Update setup-kubetools.sh
Fixed to small issues: 1. OS CentOS will report as CentOS not centos 2. K8S Repo file had tabs in it, this resulted in a corrupted Repo file. Remove the leading TABs
This commit is contained in:
parent
0ebd8220ab
commit
7f38a1df12
@ -16,7 +16,7 @@ MYOS=$(hostnamectl | awk '/Operating/ { print $3 }')
|
||||
OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }')
|
||||
|
||||
##### CentOS 7 config
|
||||
if [ $MYOS = "centos" ]
|
||||
if [ $MYOS = "CentOS" ]
|
||||
then
|
||||
echo RUNNING CENTOS CONFIG
|
||||
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
|
||||
|
||||
Loading…
Reference in New Issue
Block a user