summaryrefslogtreecommitdiff
path: root/openstack
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-18 09:40:06 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:28 +0000
commitdf77c2832f41eac648bd7043fb7660a86650223f (patch)
treefa7fd62c6bbc5660056ffc3c9555dbcef7820f78 /openstack
parent2f395583499cc08155f205c264b2c9b692b25638 (diff)
downloaddefinitions-df77c2832f41eac648bd7043fb7660a86650223f.tar.gz
FIXUPME: Fix neutron description for keystone service-create and add region
Diffstat (limited to 'openstack')
-rw-r--r--openstack/usr/share/openstack/openstack-neutron-setup5
1 files changed, 3 insertions, 2 deletions
diff --git a/openstack/usr/share/openstack/openstack-neutron-setup b/openstack/usr/share/openstack/openstack-neutron-setup
index 94b0791c..731bd919 100644
--- a/openstack/usr/share/openstack/openstack-neutron-setup
+++ b/openstack/usr/share/openstack/openstack-neutron-setup
@@ -33,11 +33,12 @@ export OS_SERVICE_ENDPOINT='http://localhost:35357/v2.0'
keystone user-create --name ##NEUTRON_SERVICE_USER## --pass ##NEUTRON_SERVICE_PASSWORD##
keystone user-role-add --tenant service --user ##NEUTRON_SERVICE_USER## --role admin
-keystone service-create --name neutron --type network --description "OpenStack Compute Service"
+keystone service-create --name neutron --type network --description "OpenStack Networking"
keystone endpoint-create --service-id $(keystone service-list | awk '/ network / {print $2}') \
--publicurl ##NEUTRON_PUBLIC_URL## \
--internalurl ##NEUTRON_INTERNAL_URL## \
- --adminurl ##NEUTRON_ADMIN_URL##
+ --adminurl ##NEUTRON_ADMIN_URL## \
+ --region regionOne
# Neutron compute configuration
if [ ! -d /var/run/neutron ]; then