]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-alpine: enable 4 consoles by default
authorNatanael Copa <ncopa@alpinelinux.org>
Thu, 24 Oct 2013 11:30:15 +0000 (13:30 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 25 Oct 2013 14:52:25 +0000 (09:52 -0500)
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@alpinelinux.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-alpine.in

index 2756b892376ab4e5f61c116f31186c69232c7828..258eed4c58ffc1d52920061229211c25eb277a55 100644 (file)
@@ -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