From b12a947c4aff92899d12fa6453eed7124b8bb21f Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Wed, 13 Dec 2017 16:14:43 +0000 Subject: Revert "added to retrieve the password." This reverts commit 35d8e1a92016ceb218b1d620a556b9a77d2dc02c. Change-Id: Ia0203368af53bdcdf76ca02191e01f580770c798 Signed-off-by: Narinder Gupta --- ci/openstack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- cgit 1.2.3-korg