Change-Id: I2865175d28e53a9582101612996fb06abe62458b
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
projectdomainid=`openstack domain show admin_domain -c id -f value`
userdomainid=`openstack user show admin -c domain_id -f value`
urlapi=`openstack catalog show keystone --format yaml | python -c "import yaml; import sys; print yaml.load(sys.stdin)['endpoints']" | grep public | cut -d " " -f 4`
- configOpenrc admin $adminPasswd admin $urlapi RegionOne publicURL $projectid $projectdomainid $userdomainid > ~/joid_config/admin-openrcinternal
- configOpenrc admin $adminPasswd admin $urlapi RegionOne publicURL $projectid $projectdomainid $userdomainid > ~/joid_config/admin-openrc
+ configOpenrc admin $adminPasswd admin $urlapi > ~/joid_config/admin-openrcinternal
+ configOpenrc admin $adminPasswd admin $urlapi > ~/joid_config/admin-openrc
else
configOpenrc2 admin $adminPasswd admin http://$keystoneIp:5000/v2.0 RegionOne > ~/joid_config/admin-openrc
chmod 0600 ~/joid_config/admin-openrc