[lxc-devel] [PATCH] lxc-net: specify /dev/null as configuration file

Serge Hallyn serge.hallyn at ubuntu.com
Mon Jun 29 17:17:01 UTC 2015


because with latest dnsmasq using nothing breaks if there is no
/etc/dnsmasq.conf file.

This is needed for

https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1468611

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 config/init/common/lxc-net.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/init/common/lxc-net.in b/config/init/common/lxc-net.in
index a310507..3eec059 100644
--- a/config/init/common/lxc-net.in
+++ b/config/init/common/lxc-net.in
@@ -13,7 +13,7 @@ LXC_NETMASK="255.255.255.0"
 LXC_NETWORK="10.0.3.0/24"
 LXC_DHCP_RANGE="10.0.3.2,10.0.3.254"
 LXC_DHCP_MAX="253"
-LXC_DHCP_CONFILE=""
+LXC_DHCP_CONFILE="/dev/null"
 LXC_DOMAIN=""
 
 LXC_IPV6_ADDR=""
-- 
2.1.4



More information about the lxc-devel mailing list