[Lxc-users] lxc template for RHEL?

Dan Kegel dank at kegel.com
Fri Aug 24 21:26:52 UTC 2012


On Thu, Aug 23, 2012 at 9:44 PM, Fajar A. Nugraha <list at fajar.net> wrote:
>> has anyone written a  /usr/lib/lxc/templates/lxc-rhel yet?
>
> AFAIK no. But see :
> - http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03761.html
> and http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03848.html
> - http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6

I tried the one from Johannes in
http://yum.phx.singlehop.com/centos/5/os/x86_64/CentOS/centos-release-5-8.el5.centos.x86_64.rpm
Had to update it a bit, as URLs have changed.
It seems to create the image, but can't start it; lxc-start complains

lxc-start: failed to rename vethMR2TXx->eth0 : File exists
lxc-start: failed to setup netdev
lxc-start: failed to setup the network for 'demo.centos6'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'demo.centos6'

Did I miss something?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lxc-centos
Type: application/octet-stream
Size: 10814 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120824/2cc9112c/attachment.obj>


More information about the lxc-users mailing list