diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-04 18:45:02 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-04 18:45:02 +0000 |
commit | 75ece84ad64580a5bf2a72039a2a0eb350b901f3 (patch) | |
tree | 75579d09fc370625a69ccd7ce3110d2048d9c6cf /openstack/usr/share/openstack/openstack-glance-setup | |
parent | e845fe6aa5c89cf84dcbcd826378cf2658897fb5 (diff) | |
download | definitions-75ece84ad64580a5bf2a72039a2a0eb350b901f3.tar.gz |
WIP: Add hostname to /etc/hosts and point the services to this host
Diffstat (limited to 'openstack/usr/share/openstack/openstack-glance-setup')
-rw-r--r-- | openstack/usr/share/openstack/openstack-glance-setup | 2 |
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 9ae27241..1363a7b7 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://127.0.0.1:35357/v2.0' +export OS_SERVICE_ENDPOINT='http://onenode: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 |