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-02-11 18:30:35 +0000
commitde1fc5453af42acbcb1c0ef62af429d1d3c4747e (patch)
treec6b6a3e50b1fc88b0c90ceb76b938d3632f51e38 /openstack-glance.configure
parentb8789a3aa9ca6a9d0e259597be9190db5f77b258 (diff)
downloaddefinitions-de1fc5453af42acbcb1c0ef62af429d1d3c4747e.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
##########################################################################