summaryrefslogtreecommitdiffstats
path: root/meta-openstack
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/cinder.conf8
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder_git.bb3
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
index 24bbc23..80adfe4 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
+++ b/meta-openstack/recipes-devtools/python/python-cinder/cinder.conf
@@ -1240,3 +1240,11 @@ volume_backend_name=RBD_CEPH
1240 1240
1241# [nova_client] 1241# [nova_client]
1242# max_timing_buffer=100 1242# max_timing_buffer=100
1243
1244[keystone_authtoken]
1245auth_host = 127.0.0.1
1246auth_port = 35357
1247auth_protocol = http
1248admin_tenant_name = %SERVICE_TENANT_NAME%
1249admin_user = %SERVICE_USER%
1250admin_password = %SERVICE_PASSWORD%
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
index 0239406..f14102e 100644
--- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb
@@ -40,6 +40,9 @@ do_install_append() {
40 sed -e "s:%DB_USER%:${DB_USER}:g" -i ${WORKDIR}/cinder.conf 40 sed -e "s:%DB_USER%:${DB_USER}:g" -i ${WORKDIR}/cinder.conf
41 sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${WORKDIR}/cinder.conf 41 sed -e "s:%DB_PASSWORD%:${DB_PASSWORD}:g" -i ${WORKDIR}/cinder.conf
42 sed -e "s:%CINDER_BACKUP_BACKEND_DRIVER%:${CINDER_BACKUP_BACKEND_DRIVER}:g" -i ${WORKDIR}/cinder.conf 42 sed -e "s:%CINDER_BACKUP_BACKEND_DRIVER%:${CINDER_BACKUP_BACKEND_DRIVER}:g" -i ${WORKDIR}/cinder.conf
43 sed -e "s:%SERVICE_TENANT_NAME%:${SERVICE_TENANT_NAME}:g" -i ${WORKDIR}/cinder.conf
44 sed -e "s:%SERVICE_USER%:${SRCNAME}:g" -i ${WORKDIR}/cinder.conf
45 sed -e "s:%SERVICE_PASSWORD%:${SERVICE_PASSWORD}:g" -i ${WORKDIR}/cinder.conf
43 46
44 install -d ${CINDER_CONF_DIR} 47 install -d ${CINDER_CONF_DIR}
45 install -m 600 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/ 48 install -m 600 ${WORKDIR}/cinder.conf ${CINDER_CONF_DIR}/