[Lxc-users] lxc-centos/lxc-rhel?

Michael H. Warfield mhw at WittsEnd.com
Fri Sep 27 20:03:54 UTC 2013


On Fri, 2013-09-27 at 10:38 +0700, Fajar A. Nugraha wrote: 
> On Fri, Sep 27, 2013 at 6:55 AM, Michael H. Warfield
> <mhw at wittsend.com> wrote:
>         On Thu, 2013-09-26 at 19:43 +0530, Shridhar Daithankar wrote:
>         > Would there be a official centos/rhel template bundled with
>         lxc? If not, which
>         > one is most preferred one?
>         
>         
>         It's on my list of things to do.  Templates were a hot topic
>         in a couple
>         of talks at Linux Plumbers last week in New Orleans.  I seem
>         to have
>         ended up handling the Fedora template at the moment and I see
>         the
>         templates for RHEL/CentOS/SL as an offshoot of that effort.
>          I've got a
>         number on my list.
>         
>         Any help is appreciated... 

> This is what I modified from the official lxc-fedora template:
> https://github.com/fajarnugraha/lxc/tree/centos-template

Got it.  Installed CentOS 5&6 quite nicely on my Fedora 19 system.  I
need to give it a close look over, particularly with regards to distro
independent installation (IOW, installing say CentOS on OpenSuse, which
was failing).  This should go into the package, ASAP.

> In particular, it solves the problem of mismatched rpmdb version (i.e.
> when installing centos5 on latest ubuntu) by doing "yum install"
> twice.

I accomplished that with an "rpm --rebuilddb" sortly after installing
the minimal packages.

This is good.  Much appreciated.  I'll look the actual code over in
closer detail later.

You said it was based on the "official lxc-fedora template".  That
template has been changing (by me).  What version of LXC where you
working from?

> -- 
> Fajar
> 
Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130927/4f4eed37/attachment.pgp>


More information about the lxc-users mailing list