diff options
Diffstat (limited to 'meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend')
-rw-r--r-- | meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend b/meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend new file mode 100644 index 0000000..5d45d62 --- /dev/null +++ b/meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend | |||
@@ -0,0 +1,11 @@ | |||
1 | do_install_append() { | ||
2 | if [ ! -f "${WORKDIR}/ceilometer.conf" ]; then | ||
3 | return | ||
4 | fi | ||
5 | |||
6 | TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} | ||
7 | CEILOMETER_CONF_DIR=${D}/${sysconfdir}/ceilometer | ||
8 | |||
9 | sed -e "s:^libvirt_type.*=.*$:libvirt_type = qemu:" \ | ||
10 | -i ${CEILOMETER_CONF_DIR}/ceilometer.conf | ||
11 | } \ No newline at end of file | ||