diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | 5 |
1 files changed, 2 insertions, 3 deletions
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 d80f9bb..ba63f98 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | |||
| @@ -52,15 +52,14 @@ pkg_postinst_${SRCNAME} () { | |||
| 52 | exit 1 | 52 | exit 1 |
| 53 | fi | 53 | fi |
| 54 | 54 | ||
| 55 | # Needed when using a MySQL backend | ||
| 56 | # mysql -u root -e "CREATE DATABASE keystone CHARACTER SET utf8;" | ||
| 57 | sudo -u postgres createdb keystone | 55 | sudo -u postgres createdb keystone |
| 58 | keystone-manage db_sync | 56 | keystone-manage db_sync |
| 59 | keystone-manage pki_setup | 57 | keystone-manage pki_setup |
| 60 | # quick fix | 58 | # quick fix |
| 61 | echo "source /etc/keystone/openrc" > /home/root/.bashrc | 59 | echo "source /etc/keystone/openrc" > /home/root/.bashrc |
| 60 | #Create users, services and endpoints | ||
| 62 | /etc/init.d/keystone start | 61 | /etc/init.d/keystone start |
| 63 | sleep 1 | 62 | sleep 0.25 |
| 64 | bash /etc/keystone/identity.sh | 63 | bash /etc/keystone/identity.sh |
| 65 | } | 64 | } |
| 66 | 65 | ||
