Commit d6b1784e by Daniel Lezcano Committed by Daniel Lezcano

add console login in ubuntu

Added console login Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent a7405925
......@@ -65,6 +65,19 @@ script
end script
EOF
cat <<EOF > $rootfs/etc/init/console.conf
# console - getty
#
# This service maintains a console on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 /dev/console
EOF
cat <<EOF > $rootfs/lib/init/fstab
# /lib/init/fstab: lxc system fstab
none /spu spufs gid=spu,optional 0 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment