[Lxc-users] Cannot see a login console on start
Serge Hallyn
serge.hallyn at canonical.com
Mon May 23 18:55:03 UTC 2011
Quoting Roberto (prof3ta at gmail.com):
> Hi all,
>
> I'm new to LXC and I've been following the following instructions on
> how to setup a container:
>
> http://www.phenona.com/blog/using-lxc-linux-containers-in-amazon-ec2/
>
> Unfortunately, it seems I cannot start a container. In fact, after I
> run the following:
>
> lxc-start -n vm0
>
> I cannot see any login prompt. I'm trying the procedure on a local VM
> running Ubuntu 10.04.
>
> Any help would be very appreciated.
Not sure exactly what that tutorial is doing. Didn't see anything
obviously wrong with it. You might try verifying it by doing
lxc-create -f /usr/share/doc/lxc/examples/lxc-macvlan.conf -t ubuntu -n u1
lxc-start -n u1
and see if that is giving you a console. If not, then perhaps something in
your VM isn't right, for instance no support for multiple devpts. In fact,
what does
sudo lxc-config
give you?
-serge
More information about the lxc-users
mailing list