Files
7e3df7e4995e1e8665b1ceb4f45e8bd27348b8ef
Roger Luethi
0685a1c4a5
labs: add regular user and tenant (demo)
This changeset creates a regular user and a tenant, both named demo. A new demo-openstackrc.sh is added for authentication as this user. Change-Id: I386c38ff4accc8004cc5fb84f3936565f5694683 Co-Authored-By: Pranav Salunke <dguitarbite@gmail.com> Implements: blueprint openstack-training-labs
16 lines
551 B
Bash
16 lines
551 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=$DEMO_USER_NAME
export OS_PASSWORD=$DEMO_PASSWORD
export OS_TENANT_NAME=$DEMO_TENANT_NAME
export OS_AUTH_URL="http://controller-mgmt:5000/v2.0"