projectatomic / adb-utils

A set of utilities for managing services used provided in the Atomic Developer Bundle.
GNU General Public License v2.0
13 stars 22 forks source link

Fix #174 sccli fails to pick a single ENV #178

Closed praveenkumar closed 8 years ago

praveenkumar commented 8 years ago

This will fix issue which we are having when try to set a single openshift option in from VSM or Vagrantfile.

praveenkumar commented 8 years ago

@budhrg give it a spin. Scratch build of the box https://cbs.centos.org/koji/taskinfo?taskID=104364

coolbrg commented 8 years ago

@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 ~]$ 
praveenkumar commented 8 years ago

Tested by me and @budhrg and working as expected.