From: TAMUKI Shoichi Date: Tue, 3 Jun 2014 03:20:23 +0000 (+0900) Subject: lxc-plamo: fix for configuring network interface X-Git-Tag: lxc-1.1.0.alpha1~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aadd458215c973af5c54c249482948e8e95b3edf;p=thirdparty%2Flxc.git lxc-plamo: fix for configuring network interface Fix configure_plamo so as not to configure wireless network interface in containers even if the host uses wireless network interface. Signed-off-by: TAMUKI Shoichi Acked-by: Stéphane Graber --- diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in index 644b8d03a..24ecb7e6f 100644 --- a/templates/lxc-plamo.in +++ b/templates/lxc-plamo.in @@ -237,6 +237,10 @@ configure_plamo() { rm -f $rootfs/etc/rc.d/rc.inet1.tradnet sh /tmp/netconfig.rconly rm -f /tmp/netconfig.rconly + ed - $rootfs/etc/rc.d/rc.inet1.tradnet <<- "EOF" + g/cmdline/s/if/& false \&\&/ + w + EOF return 0 }