Escape $ in CentOS et al script. (#7926)
Otherwise the repo URL is wrong.
This commit is contained in:
committed by
zacharysarah
parent
65d285c489
commit
df50409a6b
@@ -190,7 +190,7 @@ apt-get install -y kubelet kubeadm kubectl
|
||||
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
|
||||
[kubernetes]
|
||||
name=Kubernetes
|
||||
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
|
||||
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$basearch
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
repo_gpgcheck=1
|
||||
|
||||
Reference in New Issue
Block a user