diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index c3437cd..118574b 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -13,6 +13,7 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike \ | |||
| 13 | file://identity.sh \ | 13 | file://identity.sh \ |
| 14 | file://convert_keystone_backend.py \ | 14 | file://convert_keystone_backend.py \ |
| 15 | file://wsgi-keystone.conf \ | 15 | file://wsgi-keystone.conf \ |
| 16 | file://admin-openrc \ | ||
| 16 | " | 17 | " |
| 17 | 18 | ||
| 18 | # TBD: update or drop | 19 | # TBD: update or drop |
| @@ -92,6 +93,13 @@ do_install_append() { | |||
| 92 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${KS_INIT_FILE} | 93 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${KS_INIT_FILE} |
| 93 | sed -e "s:%ADMIN_ROLE%:${ADMIN_ROLE}:g" -i ${KS_INIT_FILE} | 94 | sed -e "s:%ADMIN_ROLE%:${ADMIN_ROLE}:g" -i ${KS_INIT_FILE} |
| 94 | 95 | ||
| 96 | # Setup the admin-openrc file | ||
| 97 | KS_OPENRC_FILE=${KEYSTONE_CONF_DIR}/admin-openrc | ||
| 98 | install -m 600 ${WORKDIR}/admin-openrc ${KS_OPENRC_FILE} | ||
| 99 | sed -e "s:%CONTROLLER_IP%:${CONTROLLER_IP}:g" -i ${KS_OPENRC_FILE} | ||
| 100 | sed -e "s:%ADMIN_USER%:${ADMIN_USER}:g" -i ${KS_OPENRC_FILE} | ||
| 101 | sed -e "s:%ADMIN_PASSWORD%:${ADMIN_PASSWORD}:g" -i ${KS_OPENRC_FILE} | ||
| 102 | |||
| 95 | # Install various configuration files. We have to select suitable | 103 | # Install various configuration files. We have to select suitable |
| 96 | # permissions as packages such as Apache require read access. | 104 | # permissions as packages such as Apache require read access. |
| 97 | # | 105 | # |
