This commit is contained in:
Francisco Isgleas 2021-10-18 19:33:38 +01:00 committed by GitHub
commit bafe26a328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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