diff options
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | 3 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf index 35ee65b..c58f3d4 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf +++ b/meta-openstack/recipes-devtools/python/python-keystone/keystone.conf | |||
@@ -75,7 +75,8 @@ | |||
75 | 75 | ||
76 | [sql] | 76 | [sql] |
77 | # The SQLAlchemy connection string used to connect to the database | 77 | # The SQLAlchemy connection string used to connect to the database |
78 | connection = sqlite:////etc/keystone/keystone.db | 78 | # connection = sqlite:////etc/keystone/keystone.db |
79 | connection = postgresql://nova:nova@localhost/keystone | ||
79 | 80 | ||
80 | # the timeout before idle sql connections are reaped | 81 | # the timeout before idle sql connections are reaped |
81 | # idle_timeout = 200 | 82 | # idle_timeout = 200 |
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb b/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb index d584adf..efe6fec 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | |||
@@ -39,6 +39,7 @@ pkg_postinst_${PN} () { | |||
39 | 39 | ||
40 | # Needed when using a MySQL backend | 40 | # Needed when using a MySQL backend |
41 | # mysql -u root -e "CREATE DATABASE keystone CHARACTER SET utf8;" | 41 | # mysql -u root -e "CREATE DATABASE keystone CHARACTER SET utf8;" |
42 | sudo -u postgres createdb keystone | ||
42 | keystone-manage db_sync | 43 | keystone-manage db_sync |
43 | keystone-manage pki_setup | 44 | keystone-manage pki_setup |
44 | } | 45 | } |