Change-Id: I0da92b7f633953574b905d9f4491f087f8152d7f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
}
configOpenrc() {
-if [ "$API_FQDN" != "''" ]; then
+if [ "$API_FQDN" != "None" ]; then
cat <<-EOF
export OS_USERNAME=$1
export OS_PASSWORD=$2
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']")