diff options
-rwxr-xr-x | ci/openstack.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh index c54416cb..0e2f9e4d 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -107,8 +107,8 @@ create_openrc() { 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 |