From a5e335de4b26f58c3ec7c7f9b1b90953b381aea4 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Tue, 16 Jul 2013 17:37:56 +0300 Subject: python-quantum: Configure postgresql credentials The user and password for postgresql are defined in the identity class and are loaded by the recipes from this class. Signed-off-by: Mihai Prica --- .../recipes-devtools/python/python-quantum/linuxbridge_conf.ini | 2 +- .../recipes-devtools/python/python-quantum/ovs_quantum_plugin.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-openstack/recipes-devtools/python/python-quantum') diff --git a/meta-openstack/recipes-devtools/python/python-quantum/linuxbridge_conf.ini b/meta-openstack/recipes-devtools/python/python-quantum/linuxbridge_conf.ini index 13f5428..7779621 100644 --- a/meta-openstack/recipes-devtools/python/python-quantum/linuxbridge_conf.ini +++ b/meta-openstack/recipes-devtools/python/python-quantum/linuxbridge_conf.ini @@ -26,7 +26,7 @@ # sql_connection = mysql://root:nova@127.0.0.1:3306/quantum_linux_bridge # Replace 127.0.0.1 above with the IP address of the database used by the # main quantum server. (Leave it as is if the database runs on this host.) -sql_connection = postgresql://admin:admin@localhost/quantum +sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/quantum # Database reconnection retry times - in event connectivity is lost # set to -1 implies an infinite retry count # sql_max_retries = 10 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 8b46a4b..171da27 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 @@ # sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum # Replace 127.0.0.1 above with the IP address of the database used by the # main quantum server. (Leave it as is if the database runs on this host.) -sql_connection = postgresql://admin:admin@localhost/quantum +sql_connection = postgresql://%DB_USER%:%DB_PASSWORD%@localhost/quantum # Database reconnection retry times - in event connectivity is lost # set to -1 implies an infinite retry count # sql_max_retries = 10 -- cgit v1.2.3-54-g00ecf