summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
index f14102e..58088c9 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -90,6 +90,10 @@ pkg_postinst_${SRCNAME}-setup () {
90 /etc/init.d/postgresql start 90 /etc/init.d/postgresql start
91 fi 91 fi
92 92
93 if [ ! -d /var/log/cinder ]; then
94 mkdir /var/log/cinder
95 fi
96
93 sudo -u postgres createdb cinder 97 sudo -u postgres createdb cinder
94 cinder-manage db sync 98 cinder-manage db sync
95 99