Update setup-kubetools.sh
Amendment of MYOS var for CentOS OS, as well as indentation for HERE document for the repo creation
This commit is contained in:
parent
9ab48fd2b7
commit
57c445b564
@ -16,7 +16,7 @@ MYOS=$(hostnamectl | awk '/Operating/ { print $3 }')
|
|||||||
OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }')
|
OSVERSION=$(hostnamectl | awk '/Operating/ { print $4 }')
|
||||||
|
|
||||||
##### CentOS 7 config
|
##### CentOS 7 config
|
||||||
if [ $MYOS = "centos" ]
|
if [ $MYOS = "CentOS" ]
|
||||||
then
|
then
|
||||||
echo RUNNING CENTOS CONFIG
|
echo RUNNING CENTOS CONFIG
|
||||||
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
|
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user