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

Michael H. Warfield mhw at WittsEnd.com
Tue Feb 4 14:20:39 UTC 2014


On Tue, 2014-02-04 at 07:53 -0600, Serge Hallyn wrote: 
> 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.

Yeah, I concur with that.

> Applied.  :)

> thanks,
> -serge

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 978-7061 |  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: 465 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140204/cbfe0568/attachment.pgp>


More information about the lxc-devel mailing list