Closed praveenkumar closed 8 years ago
@budhrg give it a spin. Scratch build of the box https://cbs.centos.org/koji/taskinfo?taskID=104364
@praveenkumar This buid is working now. Able to pull the required image with single ENV line.
[vagrant@centos7-adb ~]$ ps aux | grep docker
root 8470 3.0 5.7 564948 28928 ? Ssl 03:40 0:01 /usr/bin/docker-current daemon --exec-opt native.cgroupdriver=systemd --selinux-enabled -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --tlscacert=/etc/docker/ca.pem --tlscert=/etc/docker/server-cert.pem --tlskey=/etc/docker/server-key.pem --tlsverify --storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/vg001-docker--pool --storage-opt dm.use_deferred_removal=true --storage-opt dm.use_deferred_deletion=true
root 9538 0.0 3.2 181224 16380 ? Sl 03:40 0:00 /usr/bin/docker-current pull docker.io/openshift/origin:v1.2.0
vagrant 12665 0.0 0.1 10640 976 pts/0 S+ 03:41 0:00 grep --color=auto docker
[vagrant@centos7-adb ~]$ sudo 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"
IMAGE=docker.io/openshift/origin:v1.2.0
#NO_PROXY=localhost
#HTTP_PROXY=http://USER:PASSWORD@IPADDR:PORT
#HTTPS_PROXY=https://USER:PASSWORD@IPADDR:PORT
[vagrant@centos7-adb ~]$
Tested by me and @budhrg and working as expected.
This will fix issue which we are having when try to set a single openshift option in from VSM or Vagrantfile.