summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-12-13 16:14:43 +0000
committerNarinder Gupta <narinder.gupta@canonical.com>2017-12-13 16:14:43 +0000
commitb12a947c4aff92899d12fa6453eed7124b8bb21f (patch)
treee66af6a25d52d763218603d26f4c14f3b5f9e04e
parent35d8e1a92016ceb218b1d620a556b9a77d2dc02c (diff)
Revert "added to retrieve the password."
This reverts commit 35d8e1a92016ceb218b1d620a556b9a77d2dc02c. Change-Id: Ia0203368af53bdcdf76ca02191e01f580770c798 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
-rwxr-xr-xci/openstack.sh2
1 files changed, 1 insertions, 1 deletions
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`