modified openstack.sh to not to define endpoint if FQDN is not