Create a tty so we get login prompt on console by default
Signed-off-by: Natanael Copa <[email protected]>
---
templates/lxc-alpine.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 47df559..ba27aea 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -121,6 +121,7 @@ configure_alpine() {
cat >"$rootfs"/etc/inittab<<EOF
::sysinit:/sbin/rc sysinit
::wait:/sbin/rc default
+console:12345:respawn:/sbin/getty 38400 console
tty1:12345:respawn:/sbin/getty 38400 tty1
tty2:12345:respawn:/sbin/getty 38400 tty2
tty3:12345:respawn:/sbin/getty 38400 tty3
--
2.1.3
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel