~ajkavanagh/+junk/useful-things

« back to all changes in this revision

Viewing changes to juju/testing-novarc-v2.0

  • 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
 
 
7
keystone_ip=`juju status keystone --format=oneline | cut -f 3 -d " " | tail -n 1 | tr -d '\n'`
 
8
export OS_AUTH_URL=${OS_AUTH_PROTOCOL:-http}://${keystone_ip}:5000/v2.0
 
9
 
 
10
export OS_USERNAME=admin
 
11
export OS_PASSWORD=openstack
 
12
export OS_TENANT_NAME=admin
 
13
export OS_REGION_NAME=RegionOne
 
14