mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-15 21:44:24 +00:00
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.
This commit is contained in:
+1
-1
@@ -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
|
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 <<EOF | sudo tee /etc/systemd/system/docker.service.d/http-proxy.conf > /dev/null
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HTTP_PROXY=http://${proxy_host}"
|
Environment="HTTP_PROXY=http://${proxy_host}"
|
||||||
Environment="HTTPS_PROXY=http://${proxy_host}"
|
Environment="HTTPS_PROXY=http://${proxy_host}"
|
||||||
|
|||||||
Reference in New Issue
Block a user