Fix incorrect here document
The existing here document for setting up YUM on RHEL / CentOS would try to copy $basearch from the environment, rather than let YUM use its own variables.
This commit is contained in:
@@ -194,7 +194,7 @@ sudo apt-mark hold 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