summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-support/postgresql/postgresql/postgresql-init3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init b/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
index 26f858e..874f24e 100644
--- a/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
+++ b/meta-openstack/recipes-support/postgresql/postgresql/postgresql-init
@@ -13,13 +13,10 @@ if [ -e /etc/${PN}/PG_VERSION ]; then
13fi 13fi
14 14
15sudo -u postgres initdb -D /etc/${PN}/ 15sudo -u postgres initdb -D /etc/${PN}/
16sleep 2
17echo "listen_addresses = '*'" >> /etc/${PN}/postgresql.conf 16echo "listen_addresses = '*'" >> /etc/${PN}/postgresql.conf
18echo "host all all ${CONTROLLER_IP}/32 trust" >> /etc/${PN}/pg_hba.conf 17echo "host all all ${CONTROLLER_IP}/32 trust" >> /etc/${PN}/pg_hba.conf
19echo "host all all ${COMPUTE_IP}/32 trust" >> /etc/${PN}/pg_hba.conf 18echo "host all all ${COMPUTE_IP}/32 trust" >> /etc/${PN}/pg_hba.conf
20sleep 2
21/etc/init.d/postgresql start 19/etc/init.d/postgresql start
22sleep 10
23 20
24count=0 21count=0
25done=0 22done=0