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 <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
TAMUKI Shoichi 2014-06-03 12:20:23 +09:00 committed by Stéphane Graber
parent 0520c252da
commit aadd458215

View File

@ -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
}