Created
June 27, 2017 23:18
-
-
Save jawnsy/3e00f24893220e24e66bdbd96dd729c0 to your computer and use it in GitHub Desktop.
"oc cluster up" script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
set -o xtrace | |
OS_HOME=/opt/openshift.local | |
oc cluster up \ | |
--image-streams=rhel7 \ | |
--image=openshift/origin \ | |
--version=latest \ | |
--public-hostname=console.openshift.cf \ | |
--routing-suffix=openshift.cf \ | |
--metrics=true \ | |
--host-config-dir=${OS_HOME}/config \ | |
--use-existing-config \ | |
--host-data-dir=${OS_HOME}/data \ | |
--host-pv-dir=${OS_HOME}/pv \ | |
--host-volumes-dir=${OS_HOME}/volumes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment