Hi,
I made the changes below to stop a ubuntu container constantly log tty errors on a hetzner vps.
Now I can’t get a login when I do lxc-console i.e. I get a ‘connected on tty 1’ message with no login or password. Does anyone know how I can get the login back? At the moment I ssh to the container but it would be nice to get lxc-console working again.
/etc/init/tty.conf
tty - getty
This service maintains a getty on the specified device.
Do not edit this file directly. If you want to change the behaviour,
please create a file tty.override and put your changes there.
stop on runlevel [S016]
#respawn
#instance $TTY
#exec /sbin/mingetty $TTY
usage ‘tty TTY=/dev/ttyX - where X is console id’
Thanks,
Chris