[lxc-devel] [PATCH] lxc-plamo: fix for configuring network interface
Stéphane Graber
stgraber at ubuntu.com
Tue Jun 3 15:14:07 UTC 2014
On Tue, Jun 03, 2014 at 12:20:23PM +0900, TAMUKI Shoichi wrote:
> 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 at linet.gr.jp>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
> ---
> templates/lxc-plamo.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
> index 644b8d0..24ecb7e 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
> }
>
> --
> 1.9.0
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140603/e95b983a/attachment.sig>
More information about the lxc-devel
mailing list