Escape $ in CentOS et al script. (#7926)
Otherwise the repo URL is wrong.
This commit is contained in:
parent
e7bf1283b0
commit
1524b0f999
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue