[lxc-devel] [PATCH] support a custom CentOS repository

Serge Hallyn serge.hallyn at ubuntu.com
Tue Feb 4 13:53:45 UTC 2014


Quoting Michael H. Warfield (mhw at WittsEnd.com):
> On Mon, 2014-02-03 at 19:18 -0600, Serge Hallyn wrote: 
> > Quoting Harald Dunkel (harri at afaics.de):
> > > This change introduces a flag --repo to the lxc-centos template
> > > to allow using a local repository (e.g. a loop mounted installer
> > > iso on your web server).
> > > 
> > > Signed-off-by: Harald Dunkel <harri at afaics.de>
> 
> > It looks fine to me, but I'm not quite sure whether users ordinarily
> > would want such a repo to be an additional repo or a replacement for
> > the centos one.  Michael, does this look good to you?
> 
> I saw it when it was posted and I've been giving it some thought,
> especially in the light of what Dwight and I were discussing over extra
> packages and caching (the former of which Oracle does and the later of
> which it doesn't).  I've been giving some serious thought along those
> lines of how you would provide for caching and additional packages in
> combination in a way they don't trip over each other and this has that
> glimmer.  It could be especially helpful in combination with an
> additional packages option.
> 
> When used with something like pkgcacher or some other local networking
> package caching mechanism, it answers a question of dealing with
> multiple caches for multiple hosts.  I know pkgcacher came out of the
> aptget / .deb world but I've used it reasonably well well with yum and
> rpm.  The idea of specifying a local repository AND caching the
> repository packages and not just constructed container cache is very
> attractive.
> 
> I see no downside this (and may even add it to the Fedora template) and
> it may lead to some other ideas.
> 
> Acked-by: Michael H. Warfield <mhw at WittsEnd.com>

Thanks everyone.  I guess my main question was whether '--repo' would
conflict with the 'additional repos' interpretation (sort of like
proxy vs. ppa in ubuntu, where one is for fast local mirror while the
other is for testing upgraded packages before an upload)  Eh, the
latter, if such is ever done, could always be done as --extra-repos.

Applied.  :)

thanks,
-serge


More information about the lxc-devel mailing list