You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "[Service]" | sudo tee -a /etc/systemd/system/docker.service.d/http-proxy.conf
46
-
echo "Environment=\\\"no_proxy=192.168.2.10,192.168.2.11,192.168.2.12,127.0.0.1,localhost,netmaster\\\"\\\"http_proxy=$http_proxy\\\"\\\"https_proxy=$https_proxy\\\"" | sudo tee -a /etc/systemd/system/docker.service.d/http-proxy.conf
46
+
echo "Environment=\\\"no_proxy=$7,127.0.0.1,localhost,netmaster\\\"\\\"http_proxy=$http_proxy\\\"\\\"https_proxy=$https_proxy\\\"" | sudo tee -a /etc/systemd/system/docker.service.d/http-proxy.conf
47
47
sudo systemctl daemon-reload
48
48
sudo systemctl stop docker
49
49
systemctl start docker-tcp.socket
50
50
sudo systemctl start docker
51
51
52
-
if [ $# -gt 6 ]; then
53
-
shift; shift; shift; shift; shift; shift
52
+
if [ $# -gt 7 ]; then
53
+
shift; shift; shift; shift; shift; shifti; shift
54
54
echo "export $@" >> /etc/profile.d/envvar.sh
55
55
fi
56
56
@@ -90,6 +90,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
0 commit comments