summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone_git.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone_git.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
index 15ecb84..91707ad 100644
--- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb
@@ -104,7 +104,14 @@ do_install_append() {
104 then 104 then
105 install -d ${D}${sysconfdir}/init.d 105 install -d ${D}${sysconfdir}/init.d
106 install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone 106 install -m 0755 ${WORKDIR}/keystone ${D}${sysconfdir}/init.d/keystone
107 fi 107
108 sed -e "s/%ADMIN_PASSWORD%/${ADMIN_PASSWORD}/g" \
109 -i ${D}${sysconfdir}/init.d/keystone
110 sed -e "s/%SERVICE_PASSWORD%/${SERVICE_PASSWORD}/g" \
111 -i ${D}${sysconfdir}/init.d/keystone
112 sed -e "s/%SERVICE_TENANT_NAME%/${SERVICE_TENANT_NAME}/g" \
113 -i ${D}${sysconfdir}/init.d/keystone
114 fi
108 115
109 sed "/# admin_endpoint = .*/a \ 116 sed "/# admin_endpoint = .*/a \
110 public_endpoint = http://%CONTROLLER_IP%:8081/keystone/main/ " \ 117 public_endpoint = http://%CONTROLLER_IP%:8081/keystone/main/ " \
@@ -128,13 +135,6 @@ do_install_append() {
128 sed -e "s:%TOKEN_FORMAT%:${TOKEN_FORMAT}:g" \ 135 sed -e "s:%TOKEN_FORMAT%:${TOKEN_FORMAT}:g" \
129 -i ${KEYSTONE_CONF_DIR}/keystone.conf 136 -i ${KEYSTONE_CONF_DIR}/keystone.conf
130 137
131 sed -e "s/%ADMIN_PASSWORD%/${ADMIN_PASSWORD}/g" \
132 -i ${D}${sysconfdir}/init.d/keystone
133 sed -e "s/%SERVICE_PASSWORD%/${SERVICE_PASSWORD}/g" \
134 -i ${D}${sysconfdir}/init.d/keystone
135 sed -e "s/%SERVICE_TENANT_NAME%/${SERVICE_TENANT_NAME}/g" \
136 -i ${D}${sysconfdir}/init.d/keystone
137
138 install -d ${KEYSTONE_PACKAGE_DIR}/tests/tmp 138 install -d ${KEYSTONE_PACKAGE_DIR}/tests/tmp
139 139
140 if [ -e "${KEYSTONE_PACKAGE_DIR}/tests/test_overrides.conf" ];then 140 if [ -e "${KEYSTONE_PACKAGE_DIR}/tests/test_overrides.conf" ];then