From d7cb2fe13ab36894fed687de337d0f1732a2e261 Mon Sep 17 00:00:00 2001 From: nscarlettwolf <31857109+nscarlettwolf@users.noreply.github.com> Date: Wed, 7 Jul 2021 08:38:07 -0400 Subject: [PATCH] remove single quotes from 'EOF' here doc delimiter Removing single quotes from EOF here doc delimiter for command creating docker.service.d/http-proxy.conf. With the quotes present, the variable ${proxy_host} is not substituted. --- .../behind-proxy/launch-kubernetes/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/rancher/v2.5/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md b/content/rancher/v2.5/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md index 827db99094e..e1b75013a3c 100644 --- a/content/rancher/v2.5/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md +++ b/content/rancher/v2.5/en/installation/other-installation-methods/behind-proxy/launch-kubernetes/_index.md @@ -43,7 +43,7 @@ And configure the Docker daemon to use the proxy to pull images: ``` sudo mkdir -p /etc/systemd/system/docker.service.d -cat <<'EOF' | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf > /dev/null +cat < /dev/null [Service] Environment="HTTP_PROXY=http://${proxy_host}" Environment="HTTPS_PROXY=http://${proxy_host}"