diff options
author | Amy Fong <amy.fong@windriver.com> | 2014-07-24 13:04:41 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-07-25 15:45:30 -0400 |
commit | 1491d54da84195dda8c7d5ce1fac21437f2bc519 (patch) | |
tree | cc16576ec9471de2c9d18de8987f5a046971df0f /meta-openstack/recipes-devtools/python/python-keystone_git.bb | |
parent | 3085fa57f54335cfa3794aaf1f45928f5300b000 (diff) | |
download | meta-cloud-services-1491d54da84195dda8c7d5ce1fac21437f2bc519.tar.gz |
openstack initscript: add reset
Some of the openstack data is associated with external resources
(ie glance may have external files), we explicitly invoke the delete commands on those
in additional to dropping and recreating the databases.
Signed-off-by: Amy Fong <amy.fong@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_git.bb | 4 |
1 files changed, 4 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 190bb23..80118d4 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
@@ -66,6 +66,10 @@ do_install_append() { | |||
66 | fi | 66 | fi |
67 | 67 | ||
68 | cp run_tests.sh ${KEYSTONE_CONF_DIR} | 68 | cp run_tests.sh ${KEYSTONE_CONF_DIR} |
69 | |||
70 | sed -e "s/%ADMIN_PASSWORD%/${ADMIN_PASSWORD}/g" -i ${D}${sysconfdir}/init.d/keystone | ||
71 | sed -e "s/%SERVICE_PASSWORD%/${SERVICE_PASSWORD}/g" -i ${D}${sysconfdir}/init.d/keystone | ||
72 | sed -e "s/%SERVICE_TENANT_NAME%/${SERVICE_TENANT_NAME}/g" -i ${D}${sysconfdir}/init.d/keystone | ||
69 | } | 73 | } |
70 | 74 | ||
71 | pkg_postinst_${SRCNAME}-setup () { | 75 | pkg_postinst_${SRCNAME}-setup () { |