~ajkavanagh/+junk/useful-things

« back to all changes in this revision

Viewing changes to manual-openstack-testing/novarc

  • Committer: Alex Kavanagh
  • Date: 2018-06-13 15:19:26 UTC
  • Revision ID: alex.kavanagh@canonical.com-20180613151926-6l76h23eu3vsh127
Add the rest of the bastion interesting files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
_OS_PARAMS=$(env | awk 'BEGIN {FS="="} /^OS_/ {print $1;}' | paste -sd ' ')
 
2
for param in $_OS_PARAMS; do
 
3
    unset $param
 
4
done
 
5
unset _OS_PARAMS
 
6
export OS_REGION_NAME=RegionOne
 
7
export OS_USER_DOMAIN_ID=Default
 
8
export OS_PROJECT_NAME=admin
 
9
export OS_PASSWORD=openstack
 
10
 
 
11
keystone_ip=`juju status keystone --format=oneline | cut -f 3 -d " " | tail -n 1 | tr -d '\n'`
 
12
# for keystone v3 uncomment the following line, and comment out the line after
 
13
export OS_AUTH_URL=${OS_AUTH_PROTOCOL:-http}://${keystone_ip}:5000/v3
 
14
#export OS_AUTH_URL=${OS_AUTH_PROTOCOL:-http}://${keystone_ip}:5000
 
15
export OS_USERNAME=admin
 
16
export OS_TENANT_NAME=admin
 
17
export OS_PROJECT_DOMAIN_NAME=Default