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-quantum/ovs_quantum_plugin.ini2
-rw-r--r--meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
index 171da27..7f62c06 100644
--- a/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
+++ b/meta-openstack/recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini
@@ -4,7 +4,7 @@
4# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum 4# sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
5# Replace 127.0.0.1 above with the IP address of the database used by the 5# Replace 127.0.0.1 above with the IP address of the database used by the
6# main quantum server. (Leave it as is if the database runs on this host.) 6# main quantum server. (Leave it as is if the database runs on this host.)
7sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/quantum 7sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/ovs_quantum
8# Database reconnection retry times - in event connectivity is lost 8# Database reconnection retry times - in event connectivity is lost
9# set to -1 implies an infinite retry count 9# set to -1 implies an infinite retry count
10# sql_max_retries = 10 10# sql_max_retries = 10
diff --git a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
index 8f0fa43..d058412 100644
--- a/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-quantum_2013.1.2.bb
@@ -74,7 +74,8 @@ pkg_postinst_${SRCNAME} () {
74 sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'" 74 sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'"
75 fi 75 fi
76 76
77 sudo -u postgres createdb quantum 77 sudo -u postgres createdb ovs_quantum
78}
78} 79}
79 80
80PACKAGES += " \ 81PACKAGES += " \