From dfead22088d47a052d2170e126a5c52d942b35d2 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 23 Sep 2013 16:35:57 -0400 Subject: meta-openstack-qemu: initial creation When included in a build, this layer modifies settings to allow a controller and compute node boot and runtime under qemu system emulation. Signed-off-by: Bruce Ashfield --- .../python/python-nova-controller_2013.1.3.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend (limited to 'meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend') diff --git a/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend b/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend new file mode 100644 index 0000000..f45a02b --- /dev/null +++ b/meta-openstack-qemu/recipes-devtools/python/python-nova-controller_2013.1.3.bbappend @@ -0,0 +1,11 @@ +do_install_append() { + if [ ! -f "${WORKDIR}/nova.conf" ]; then + return + fi + + TEMPLATE_CONF_DIR=${S}${sysconfdir}/${SRCNAME} + NOVA_CONF_DIR=${D}/${sysconfdir}/nova + + sed -e "s:^libvirt_type.*=.*$:libvirt_type = qemu:" \ + -i ${NOVA_CONF_DIR}/nova.conf +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf