[Lxc-users] Templates available (debian and ubuntu)

Papp Tamás tompos at martos.bme.hu
Thu Aug 19 12:48:10 UTC 2010


Guillaume wrote, On 2010. 08. 18. 14:07:
>  Hello LXC people,
>
> Some of you already know my project lxc-provider.
> One of the project's goals is to generate lxc templates.
>
> I have published ready to use (even whitout lxc-provider) templates at
> http://sourceforge.net/projects/lxc-provider/files/
>
> Here is a list of them:
>
> - ubuntu.lucid 64bits
> - ubuntu.lucid 32bits
> - ubuntu.karmic 64bits
> - ubuntu.karmic 32bits
> - ubuntu.jaunty 64bits
> - ubuntu.jaunty 32bits
> - ubuntu.intrepid 64bits
> - ubuntu.intrepid 32bits
> - ubuntu.hardy 64bits
> - ubuntu.hardy 32bits
> - debian.squeeze 64bits
> - debian.squeeze 32bits
> - debian.lenny 64bits
> - debian.lenny 32bits
>
> Centos4, Centos5, fedora12, fedora13 are on there way...
>
> Usage without lxc-provider :
>
> -untar
> -set networking configuration (/etc/network/interfaces, /etc/hosts)
> -set hostname (/etc/hostname)
> -set auth (passwd, sshkey)
> -set locales (on debian : dpkg-reconfigure locales)
> -set /etc/resolv.conf
> -create lxc conf
> -enjoy ;)
>  
>   

hi!

I just done with this.

After an ssh login I see:

$ ssh 10.1.1.59 -l root
root at 10.1.1.59's password:
PTY allocation request failed on channel 0
stdin: is not a tty
                   Connection to 10.1.1.59 closed.
$


I can get the prompt back only using "~." , so something is wrong. Does 
it work for you? I used the template ubuntu.lucid_0.3.tgz .

After some debugging now it's working, this was needed:

/etc/init/devpts.conf
#
start on startup

exec mount -t devpts none /dev/pts -o rw,noexec,nosuid,gid=5,mode=0620



Thanks,

tamas




More information about the lxc-users mailing list