From 25503476bf12d2c9b995bdcfbd61b072ecd7f0b6 Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Thu, 10 Aug 2017 05:50:03 -0500 Subject: [PATCH] modfiied to check more strict API_DOMAIN Change-Id: If45ad3e25243c666eeb420e9e43b3bc9896bcfa3 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 ed082b9b..9020fd7c 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -150,7 +150,7 @@ export OS_AUTH_URL=$4 EOF } -if [ "$API_FQDN" != "None" ]; then +if ([ $API_FQDN ] && [ $API_FQDN != "null" ] && [ $API_FQDN != "None"]); then # Push api fqdn local ip to all /etc/hosts if [[ "$jujuver" < "2" ]]; then API_FQDN=$(juju get keystone | python -c "import yaml; import sys;\ -- 2.16.6