summaryrefslogtreecommitdiff
path: root/openstack-glance.configure
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-21 18:53:45 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:31 +0000
commit5fec3bdcd0fc99a10ebd8fd4dfd6b88aaeffb5a6 (patch)
treea9f262722b48142cf906a3bc3d2c1f618e36f8e2 /openstack-glance.configure
parent704f7701e94739ee6fabbf4d3586f295572226f6 (diff)
downloaddefinitions-5fec3bdcd0fc99a10ebd8fd4dfd6b88aaeffb5a6.tar.gz
Setup cinder, glance, nova and keystone to use postgres instead of sqlite
Diffstat (limited to 'openstack-glance.configure')
-rw-r--r--openstack-glance.configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/openstack-glance.configure b/openstack-glance.configure
index a94de93a..6780a64a 100644
--- a/openstack-glance.configure
+++ b/openstack-glance.configure
@@ -29,6 +29,9 @@ s/##GLANCE_SERVICE_PASSWORD##/$GLANCE_SERVICE_PASSWORD/g
s/##GLANCE_PUBLIC_URL##/$GLANCE_PUBLIC_URL/g
s/##GLANCE_INTERNAL_URL##/$GLANCE_INTERNAL_URL/g
s/##GLANCE_ADMIN_URL##/$GLANCE_ADMIN_URL/g
+s/##GLANCE_HOST##/$GLANCE_HOST/g
+s/##GLANCE_DB_USER##/$GLANCE_DB_USER/g
+s/##GLANCE_DB_PASSWORD##/$GLANCE_DB_PASSWORD/g
EOF
sed -f "$ROOT"/etc/openstack-glance-setup.sed -i \
@@ -37,6 +40,7 @@ sed -f "$ROOT"/etc/openstack-glance-setup.sed -i \
"$ROOT"/etc/glance/glance-scrubber.conf \
"$ROOT"/etc/glance/glance-cache.conf \
"$ROOT"/etc/cinder/cinder.conf \
+ "$ROOT"/etc/nova/nova.conf \
"$ROOT"/usr/share/openstack/openstack-glance-setup
##########################################################################