From aeaadc15fd3b0699232df9e1752c41f23dee59f0 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Fri, 5 Aug 2016 19:41:24 -0500 Subject: [PATCH] modfied to support the real API name. Change-Id: I0da92b7f633953574b905d9f4491f087f8152d7f Signed-off-by: Narinder Gupta --- ci/openstack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/openstack.sh b/ci/openstack.sh index 7cd7efd0..751b10a1 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -68,7 +68,7 @@ create_openrc() { } configOpenrc() { -if [ "$API_FQDN" != "''" ]; then +if [ "$API_FQDN" != "None" ]; then cat <<-EOF export OS_USERNAME=$1 export OS_PASSWORD=$2 @@ -94,7 +94,7 @@ EOF fi } -if [ "$API_FQDN" != "''" ]; then +if [ "$API_FQDN" != "None" ]; then # Push api fqdn local ip to all /etc/hosts API_FQDN=$(juju get keystone | python -c "import yaml; import sys;\ print yaml.load(sys.stdin)['settings']['os-public-hostname']['value']") -- 2.16.6