summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/openstack-glance-setup
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/share/openstack/openstack-glance-setup')
-rw-r--r--openstack/usr/share/openstack/openstack-glance-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/usr/share/openstack/openstack-glance-setup b/openstack/usr/share/openstack/openstack-glance-setup
index d9ee919e..9ae27241 100644
--- a/openstack/usr/share/openstack/openstack-glance-setup
+++ b/openstack/usr/share/openstack/openstack-glance-setup
@@ -25,7 +25,7 @@ getent passwd glance >/dev/null || \
# Create required keystone tenants, users and roles
export OS_SERVICE_TOKEN=##KEYSTONE_TEMPORARY_ADMIN_TOKEN##
-export OS_SERVICE_ENDPOINT='http://localhost:35357/v2.0'
+export OS_SERVICE_ENDPOINT='http://127.0.0.1:35357/v2.0'
keystone user-create --name ##GLANCE_SERVICE_USER## --pass ##GLANCE_SERVICE_PASSWORD##
keystone user-role-add --tenant service --user ##GLANCE_SERVICE_USER## --role admin