Preserve swift tenant_id variable when writing into keystone catalog.
Change-Id: Ib01e520f554dbf3f3a07e120e28c95a005172dfc
diff --git a/AUTHORS b/AUTHORS
index 5769f4f..561826c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -8,6 +8,7 @@
Devin Carlen <devin.carlen@gmail.com>
Eddie Hebert <edhebert@gmail.com>
Eoghan Glynn <eglynn@redhat.com>
+Gabriel Hurley <gabriel@strikeawe.com>
Jake Dahn <admin@jakedahn.com>
James E. Blair <james.blair@rackspace.com>
Jason Cannavale <jason.cannavale@rackspace.com>
diff --git a/stack.sh b/stack.sh
index 4b8208e..61e7356 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1328,9 +1328,9 @@
# Add swift endpoints to service catalog if swift is enabled
if is_service_enabled swift; then
- echo "catalog.RegionOne.object_store.publicURL = http://%SERVICE_HOST%:8080/v1/AUTH_$(tenant_id)s" >> $KEYSTONE_CATALOG
+ echo "catalog.RegionOne.object_store.publicURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.adminURL = http://%SERVICE_HOST%:8080/" >> $KEYSTONE_CATALOG
- echo "catalog.RegionOne.object_store.internalURL = http://%SERVICE_HOST%:8080/v1/AUTH_$(tenant_id)s" >> $KEYSTONE_CATALOG
+ echo "catalog.RegionOne.object_store.internalURL = http://%SERVICE_HOST%:8080/v1/AUTH_\$(tenant_id)s" >> $KEYSTONE_CATALOG
echo "catalog.RegionOne.object_store.name = 'Swift Service'" >> $KEYSTONE_CATALOG
fi