From: Narinder Gupta Date: Sat, 6 Aug 2016 00:41:24 +0000 (-0500) Subject: modfied to support the real API name. X-Git-Tag: colorado.1.0~42 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F18105%2F1;p=joid.git modfied to support the real API name. Change-Id: I0da92b7f633953574b905d9f4491f087f8152d7f Signed-off-by: Narinder Gupta --- 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']")