Skip to content
Snippets Groups Projects
Commit a43a8d77 authored by Paul Bourke's avatar Paul Bourke
Browse files

Fix docker daemon proxy support in vagrant

There was an unwanted line break in the systemd file preventing the proxy from
being configured correctly.

TrivialFix

Change-Id: I3e6413d4f2d373951cb558e0af1b8bc92d4cbb91
parent d1be7fdb
No related branches found
No related tags found
No related merge requests found
...@@ -127,8 +127,7 @@ EOF ...@@ -127,8 +127,7 @@ EOF
mkdir -p /etc/systemd/system/docker.service.d mkdir -p /etc/systemd/system/docker.service.d
cat >/etc/systemd/system/docker.service.d/http-proxy.conf <<-EOF cat >/etc/systemd/system/docker.service.d/http-proxy.conf <<-EOF
[Service] [Service]
Environment="HTTP_PROXY=${http_proxy}" "HTTPS_PROXY=${https_proxy}" Environment="HTTP_PROXY=${http_proxy}" "HTTPS_PROXY=${https_proxy}" "NO_PROXY=localhost,127.0.0.1,${REGISTRY_URL}"
"NO_PROXY=localhost,127.0.0.1,${REGISTRY_URL}"
EOF EOF
if [[ "$(grep http_ /etc/bashrc)" == "" ]]; then if [[ "$(grep http_ /etc/bashrc)" == "" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment