[Lxc-users] starting container requires re-login?

张章 zhang_zhang at live.com
Wed May 9 09:26:19 UTC 2012


hello 
 
i have configured the lxc with basic settings like this:
    lxc.ustname = lxc1
    lxc.network.type = veth
    lxc.network.flags = up
    lxc.network.link = br0
    lxc.network.name = eth0
    lxc.network.ipv4 = 192.168.1.122/24
    lxc.rootfs = /lxc/rootfs
    lxc.mount = /lxc/fstab 
 
and the filesystem to be mount is fresh using 
debootstrap --arch amd64 lucid /lxc/rootfs http://archive.ubuntu.com/ubuntu
After typing command: lxc-create and lxc-start, the host system requires me to re-login. Then I do it and try to connect the just lauched container using ssh,but i get the following error:
PTY allocation request failed on channel 0
stdin:is not a tty
could anyone offer some help? you are warmly welcome! 
Thanks a lot!

Z. ZhangNational Research Center for intelligent Computing Systems,
ICT, Chinese Academy of Sciences 


  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120509/14949fc7/attachment.html>


More information about the lxc-users mailing list