[Lxc-users] init and getty

Brian K. White brian at aljex.com
Tue Feb 9 22:35:38 UTC 2010


Michael Holzt wrote:
>> Is there some gimmick I can do to get a getty in a container to use the 
>> same tty (screen session) as that containers init?
> 
> The "tty" in question is the console, so point getty to /dev/console,
> e.g. "/sbin/getty 38400 console" in inittab.
> 
> 
> Regards,
> Michael
> 

Works. Thanks much!

-- 
bkw





More information about the lxc-users mailing list