summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/openstack-cinder-setup
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-04 18:45:02 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-11 18:30:37 +0000
commit1ed02d327b15c0869453afebbe00df5111063366 (patch)
tree0fcf2cc109f95ee0a094fd83ead2a42be5fe79a8 /openstack/usr/share/openstack/openstack-cinder-setup
parent2015fd2b3e90e13cf3bebf0f6294822a371dbbd7 (diff)
downloaddefinitions-1ed02d327b15c0869453afebbe00df5111063366.tar.gz
WIP: Add hostname to /etc/hosts and point the services to this host
Diffstat (limited to 'openstack/usr/share/openstack/openstack-cinder-setup')
-rw-r--r--openstack/usr/share/openstack/openstack-cinder-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/usr/share/openstack/openstack-cinder-setup b/openstack/usr/share/openstack/openstack-cinder-setup
index 1c08f75a..eb97d55a 100644
--- a/openstack/usr/share/openstack/openstack-cinder-setup
+++ b/openstack/usr/share/openstack/openstack-cinder-setup
@@ -27,7 +27,7 @@ getent passwd cinder >/dev/null || \
# Create the keystone user and services
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 ##CINDER_USER## --pass ##CINDER_PASSWORD##
keystone user-role-add --tenant service --user ##CINDER_USER## --role admin