fix the sudo problem with cat using tee - en

This commit is contained in:
Ali Yousefi Sabzevar 2021-10-27 14:22:35 +02:00
parent 9a36c05f6a
commit d895791f1f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
{{% /tab %}}
{{< tab name="Red Hat-based distributions" codelang="bash" >}}
sudo cat <<EOF > /etc/yum.repos.d/kubernetes.repo
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64