[lxc-devel] [PATCH 2/2] lxc-alpine: enable 4 consoles by default

Serge Hallyn serge.hallyn at ubuntu.com
Fri Oct 25 14:52:02 UTC 2013


Quoting Natanael Copa (ncopa at alpinelinux.org):
> We allow 4 consoles in the LXC config file so we can enable 4 in the
> inittab as well.
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  templates/lxc-alpine.in | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
> index 2756b89..258eed4 100644
> --- a/templates/lxc-alpine.in
> +++ b/templates/lxc-alpine.in
> @@ -103,6 +103,9 @@ configure_alpine() {
>  ::sysinit:/sbin/rc sysinit
>  ::wait:/sbin/rc default
>  tty1:12345:respawn:/sbin/getty 38400 tty1
> +tty2:12345:respawn:/sbin/getty 38400 tty2
> +tty3:12345:respawn:/sbin/getty 38400 tty3
> +tty4:12345:respawn:/sbin/getty 38400 tty4
>  ::ctrlaltdel:/sbin/reboot
>  ::shutdown:/sbin/rc shutdown
>  EOF
> -- 
> 1.8.4.1
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel




More information about the lxc-devel mailing list