On Fri, May 16, 2014 at 1:24 AM, Fajar A. Nugraha <l...@fajar.net> wrote:
> Works for me. Did you do it like I did? > > root@trusty:~# status tty1 > tty1 start/running, process 443 > root@trusty:~# status cron > cron start/running, process 407 > root@trusty:~# status cron > root@trusty:~# runlevel > N 2 > > for clarity purpuses: the above commands were executed on the maverick container. It's just that the hostname of the container is also "trusty" (since by default the rootfs created in /var/cache/lxc* has hostname the same as the host) > - (in the container) create /etc/init/lxc-console.conf > > ### > start on stopped rc RUNLEVEL=[2345] and container CONTAINER=lxc > this should be only start on stopped rc RUNLEVEL=[2345] container detection only works on newer versions of upstart. > stop on runlevel [!2345] > > respawn > exec /sbin/getty -8 38400 lxc/console > ### > >
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users