[lxc-users] No Redhat template

Daniel Veillard veillard at redhat.com
Thu Feb 20 08:25:55 UTC 2014


On Wed, Feb 19, 2014 at 12:01:24AM +0000, Jon Brinkmann wrote:
> Thanks for your help.
> 
> I'm hesitant to use Centos repos, mainly due to its "acquisition" by
> RH as a test bed for RHEL.  SL is and will remain more conservative,
> cloning RHEL.

  I guess I have to react to that, first historically SL did diverge
more than than CentOS (in order to better serve their audience, a
deliberate choice), also it has been made clear that the way packages
were built into CentOS is not changing, just the guys doing it
work for Red Hat. There is work being done to provide new variants of
CentOS serving more specific space and diverging from the base platform,
but if you want to stick to the RHEL clone, just use the base platform.
   http://www.centos.org/variants/
   http://wiki.centos.org/SpecialInterestGroup

  I know this list may not like Red Hat a lot, and not trust me in
particular since I'm the original author of libvirt, but I still think
I need to correct the above misconception.

> I'm not familiar with Oracle's policies, but I found
> differences between their lxc instructions and Centos'.
> 
> I'll work on a SL template, which uses the SL repos, and submit it to
> lxc-devel.

  It would actually be interesting to find out what changes need to be
done for the SL template compared to the CentOS one, if any are
required, my guess is that you will end up with the same except for
the resources URLs, release package name, and possibly the path for the
cache and release file.

Daniel

> Thanks again,
> 
> Jon
> 
> On Tue, Feb 18, 2014 at 03:50:33PM +0700, Fajar A. Nugraha wrote:
> > On Tue, Feb 18, 2014 at 3:05 PM, Tamas Papp <tompos at martos.bme.hu> wrote:
> > >
> > > On 02/18/2014 08:34 AM, Jon Brinkmann wrote:
> > >> I'm trying to build containers in Scientific Linux, a clone of RHEL.
> >
> > >> However, when I attempt to create a container, I get:
> > >>
> > >>       # lxc-create -t redhat -n system1 -P /systems/
> > >>       lxc_container: No such file or directory - bad template: redhat
> >
> > >> There's no sign of a redhat template.  How do I proceed?  Should I create
> > >> a template for it from lxc-centos and submit it to lxc-devel?
> >
> >
> > My question would be "what would you need redhat template for"?
> >
> >
> > > There is no official template for redhat.... I guess because there is no
> > > public redhat repository available.
> >
> >
> > Correct. lxc uses public repositories and some kind of bootstrapping
> > (yum, debootstrap, etc) to setup the guest container. Redhat does not
> > provide access to such container.
> >
> > Submitting a scientific linux (SL) template would be a good idea, if
> > you use it often and have something speicifc that only SL can provide.
> > There's already oracle linux and centos template, If you just need a
> > working redhat-clone.
> >
> > An alternative is to clone a working RHEL installation, and customize
> > it for lxc (using the content of lxc-centos template script as
> > example)
> >
> > --
> > Fajar
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard at redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/


More information about the lxc-users mailing list