summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/libvirt/libvirt/dnsmasq_exclude_virbr.conf1
-rw-r--r--recipes-support/dnsmasq/dnsmasq_2.%.bbappend5
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt/dnsmasq_exclude_virbr.conf b/recipes-extended/libvirt/libvirt/dnsmasq_exclude_virbr.conf
deleted file mode 100644
index 16bf1986..00000000
--- a/recipes-extended/libvirt/libvirt/dnsmasq_exclude_virbr.conf
+++ /dev/null
@@ -1 +0,0 @@
1except-interface=virbr0
diff --git a/recipes-support/dnsmasq/dnsmasq_2.%.bbappend b/recipes-support/dnsmasq/dnsmasq_2.%.bbappend
new file mode 100644
index 00000000..8d66ca6a
--- /dev/null
+++ b/recipes-support/dnsmasq/dnsmasq_2.%.bbappend
@@ -0,0 +1,5 @@
1# dnsmasq is greedy with interfaces by default using bind-dynamic will
2# make it less greedy but still function as it did by default.
3do_install_append() {
4 sed -i '/#bind-interfaces/a # Play nice with libvirt\nbind-dynamic' ${D}${sysconfdir}/dnsmasq.conf
5}