projectatomic / vagrant-service-manager

To provide the user a CLI to configure the ADB/CDK for different use cases and to provide glue between ADB/CDK and the user's developer environment.
GNU General Public License v2.0
18 stars 16 forks source link

Fix #434 Align proxy config names similar to 'sccli' #435

Closed coolbrg closed 8 years ago

coolbrg commented 8 years ago

Fix #434

Now, I can see the proxy related changes inside VM.

$ bundle exec vagrant ssh
Last login: Fri Oct 28 12:47:16 2016
[vagrant@rhel-cdk ~]$ cat /etc/sysconfig/openshift_option 
# /etc/sysconfig/openshift_options

# Modify these options if you want to change openshift hostname
OPENSHIFT_SUBDOMAIN="$(hostname).$(/opt/adb/openshift/get_ip_address).xip.io"
NO_PROXY=127.0.0.1,10.0.2.15,10.10.10.42,172.17.0.1,.xip.io,172.30.0.0/16,172.17.0.0/16,rhel-cdk
HTTP_PROXY=http://fedora:fedora123@http://10.70.49.109:3128
HTTPS_PROXY=http://fedora:fedora123@http://10.70.49.109:3128
IMAGE="registry.access.redhat.com/openshift3/ose:v3.2.1.9"

[vagrant@rhel-cdk ~]$ cat /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://fedora:fedora123@http://10.70.49.109:3128" "NO_PROXY=localhost,127.0.0.1,::1,.xip.io,172.30.66.245"
LalatenduMohanty commented 8 years ago

LGTM.