diff options
Diffstat (limited to 'meta-openstack-qemu')
-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 00000000..5d45d629 --- /dev/null +++ b/meta-openstack-qemu/recipes-devtools/python/python-ceilometer_git.bbappend @@ -0,0 +1,11 @@ +do_install_append() { + if [ ! -f "${WORKDIR}/ceilometer.conf" ]; then + return + fi + + TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} + CEILOMETER_CONF_DIR=${D}/${sysconfdir}/ceilometer + + sed -e "s:^libvirt_type.*=.*$:libvirt_type = qemu:" \ + -i ${CEILOMETER_CONF_DIR}/ceilometer.conf +}
\ No newline at end of file |