summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-08-10 05:50:03 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-08-10 05:50:46 -0500
commit25503476bf12d2c9b995bdcfbd61b072ecd7f0b6 (patch)
treeb6993fca075eb4a9962c44bbd5d971129d1bf2d0 /ci
parent3fe9a4d9e91650e827807fdedf283128156db9f1 (diff)
modfiied to check more strict API_DOMAIN
Change-Id: If45ad3e25243c666eeb420e9e43b3bc9896bcfa3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/openstack.sh2
1 files changed, 1 insertions, 1 deletions
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;\