training-guides/labs/config/labs-openstackrc.sh
Pranav Salunke f36e8dadf4 Adds keystone scripts for training labs
Adds keystone scripts for training labs which will install and configure
keystone and also populate the keystone database.

Co-Authored-By: Roger Luethi <rl@patchworkscience.org>
Change-Id: I21bafd5d43ce58ebc22029dc4897bb19104132a1
Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
2014-08-05 18:46:58 +02:00

16 lines
554 B
Bash

# The variables in this file are exported for use by OpenStack client
# applications.
# Unlike a regular openstackrc.sh file, this file gets its variable values
# from other configuration files (to limit redundancy).
# Use BASH_SOURCE so the file works when sourced from a shell, too
CONFIG_DIR=$(dirname "$BASH_SOURCE")
source "$CONFIG_DIR/openstack"
source "$CONFIG_DIR/credentials"
export OS_USERNAME=$ADMIN_USER_NAME
export OS_PASSWORD=$ADMIN_PASSWORD
export OS_TENANT_NAME=$ADMIN_TENANT_NAME
export OS_AUTH_URL="http://controller-mgmt:5000/v2.0"