~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/openstack.sh

  • Committer: Narinder Gupta
  • Date: 2017-12-13 16:06:45 UTC
  • Revision ID: git-v1:35d8e1a92016ceb218b1d620a556b9a77d2dc02c
added to retrieve the password.

Change-Id: Id9138c32e748ec54db78e5a54f998f53b46be819
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
    mkdir -m 0700 -p cloud
74
74
    keystoneIp=$(keystoneIp)
75
 
    adminPasswd=$(juju config keystone | grep admin-password -A 5 | grep value | awk '{print $2}' 2> /dev/null)
 
75
    adminPasswd=$(juju config keystone | python -c "import yaml; import sys; print yaml.load(sys.stdin)['settings']['admin-password']['value']" | cut -d " " -f 1)
76
76
 
77
77
    v3api=`juju config keystone  preferred-api-version`
78
78