forked from imain/ocp-doit
-
Notifications
You must be signed in to change notification settings - Fork 5
/
ocp_install_env.sh
26 lines (20 loc) · 1001 Bytes
/
ocp_install_env.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
eval "$(go env)"
if [ -z "$OS_CLOUD" ]; then
export OS_CLOUD=openshift
fi
if [ -z "$CLUSTER_NAME" ]; then
export CLUSTER_NAME=ostest
fi
export OPENSHIFT_INSTALL_DATA="$GOPATH/src/github.com/openshift/installer/data/data"
export OPENSTACK_REGION=regionOne
export OPENSTACK_IMAGE=rhcos
export OPENSTACK_FLAVOR=m1.medium
export BASE_DOMAIN=shiftstack.com
export OPENSTACK_EXTERNAL_NETWORK=public
export PULL_SECRET='{"auths": { "quay.io": { "auth": "Y29yZW9zK3RlYzJfaWZidWdsa2VndmF0aXJyemlqZGMybnJ5ZzpWRVM0SVA0TjdSTjNROUUwMFA1Rk9NMjdSQUZNM1lIRjRYSzQ2UlJBTTFZQVdZWTdLOUFIQlM1OVBQVjhEVlla", "email": "" }}}'
export SSH_PUB_KEY="`cat $HOME/.ssh/id_rsa.pub`"
export API_ADDRESS="api.${CLUSTER_NAME}.shiftstack.com"
export CONSOLE_ADDRESS="console-openshift-console.apps.${CLUSTER_NAME}.shiftstack.com"
export AUTH_ADDRESS="openshift-authentication-openshift-authentication.apps.${CLUSTER_NAME}.shiftstack.com"
# Not used by the installer. Used by s.sh.
export SSH_PRIV_KEY="$HOME/.ssh/id_rsa"