Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit cc69905

Browse files
Merge pull request #103 from jwforres/update_demo_script
Update geard demo script to work with new version of the broker image
2 parents c105889 + a0540d3 commit cc69905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/demo/demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ gear stop --with=$base/deploy_mongo_repl_set_instances.json > /dev/null &
4646
if [ "$SKIP_ORIGIN" == "" ]; then
4747
run gear deploy $base/deploy_openshift.json localhost
4848
run journalctl --unit ctr-openshift-broker-1 -f --since=-3 -q
49-
run sudo switchns --container="openshift-broker-1" --env="BROKER_SOURCE=1" --env="HOME=/" -- /bin/bash --login -c "/opt/ruby/src/docker/openshift_init"
49+
run sudo switchns --container="openshift-broker-1" --env="BROKER_SOURCE=1" --env="HOME=/opt/ruby" --env="OPENSHIFT_BROKER_DIR=/opt/ruby/src/broker" -- /bin/bash --login -c "/opt/ruby/src/docker/openshift_init"
5050
run rhc setup --server http://localhost:6060/broker/rest/api
5151
run rhc create-app test jbosseap-6.0 --no-git --no-dns
5252
fi

0 commit comments

Comments
 (0)