diff options
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/classes/identity.bbclass | 3 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/meta-openstack/classes/identity.bbclass b/meta-openstack/classes/identity.bbclass new file mode 100644 index 0000000..07c8efc --- /dev/null +++ b/meta-openstack/classes/identity.bbclass | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | SERVICE_TOKEN = "password" | ||
| 2 | SERVICE_PASSWORD = "password" | ||
| 3 | SERVICE_TENANT_NAME = "service" | ||
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 fc4b3a0..d6ad46d 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_2013.1.bb | |||
| @@ -19,7 +19,7 @@ SRC_URI[sha256sum] = "34347a3242a40d93b98c3722e6f3fbc112bc1c9ef20c045c3d40637e45 | |||
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/${SRCNAME}-${PV}" | 20 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 21 | 21 | ||
| 22 | inherit setuptools update-rc.d | 22 | inherit setuptools update-rc.d identity |
| 23 | 23 | ||
| 24 | SERVICE_TOKEN = "password" | 24 | SERVICE_TOKEN = "password" |
| 25 | 25 | ||
| @@ -68,7 +68,9 @@ pkg_postinst_${SRCNAME} () { | |||
| 68 | #Create users, services and endpoints | 68 | #Create users, services and endpoints |
| 69 | /etc/init.d/keystone start | 69 | /etc/init.d/keystone start |
| 70 | sleep 0.25 | 70 | sleep 0.25 |
| 71 | bash /etc/keystone/identity.sh | 71 | SERVICE_PASSWORD=${SERVICE_PASSWORD} \ |
| 72 | SERVICE_TENANT_NAME=${SERVICE_TENANT_NAME} \ | ||
| 73 | bash /etc/keystone/identity.sh | ||
| 72 | } | 74 | } |
| 73 | 75 | ||
| 74 | PACKAGES += " ${SRCNAME}" | 76 | PACKAGES += " ${SRCNAME}" |
