From: Narinder Gupta Date: Wed, 13 Dec 2017 16:14:43 +0000 (+0000) Subject: Revert "added to retrieve the password." X-Git-Tag: opnfv-6.0.0~24 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b12a947c4aff92899d12fa6453eed7124b8bb21f;p=joid.git Revert "added to retrieve the password." This reverts commit 35d8e1a92016ceb218b1d620a556b9a77d2dc02c. Change-Id: Ia0203368af53bdcdf76ca02191e01f580770c798 Signed-off-by: Narinder Gupta --- diff --git a/ci/openstack.sh b/ci/openstack.sh index 3c8f9757..b35f28c1 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -72,7 +72,7 @@ create_openrc() { mkdir -m 0700 -p cloud keystoneIp=$(keystoneIp) - adminPasswd=$(juju config keystone | python -c "import yaml; import sys; print yaml.load(sys.stdin)['settings']['admin-password']['value']" | cut -d " " -f 1) + adminPasswd=$(juju config keystone | grep admin-password -A 5 | grep value | awk '{print $2}' 2> /dev/null) v3api=`juju config keystone preferred-api-version`