diff options
Diffstat (limited to 'recipes-core/bind/bind_virtualization.inc')
-rw-r--r-- | recipes-core/bind/bind_virtualization.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-core/bind/bind_virtualization.inc b/recipes-core/bind/bind_virtualization.inc new file mode 100644 index 00000000..b8f0b3ff --- /dev/null +++ b/recipes-core/bind/bind_virtualization.inc | |||
@@ -0,0 +1,4 @@ | |||
1 | # Tell named not to bother listening on the IP address that lxc handles itself. | ||
2 | do_install_append() { | ||
3 | sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc would take care of this address itself\n\tlisten-on { ! 10.0.3.1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options | ||
4 | } | ||