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

Dwight Engen dwight.engen at oracle.com
Tue Feb 4 15:39:03 UTC 2014


On Tue, 4 Feb 2014 10:31:47 +0000
John Peacock <jpeacock at messagesystems.com> wrote:

> I would very much like to have this functionality be able to replace
> the repository files completely.  For performance purposes, we have a
> local clone of the entire Centos 5/6 trees (for limited
> architectures).  There are no circumstances where I want our
> instances to hit the upstream mirror list instead of our local
> mirror.  I've actually had to edit the local template to make that
> the case now, so I'd really like to see this functionality added.

This is sort of what the Oracle template does: when passed --url
it downloads the original repo file and rewrites the first part of the
baseurl and gpgkey uri. The bad part of doing it that way is that the
the repo at --url has to be a mirror (ie. have the same pathing after
the first part) in order for this to work, but it sounds like this is
what you have anyways.

> Thanks
> 
> John
> ________________________________________
> From: lxc-devel-bounces at lists.linuxcontainers.org
> [lxc-devel-bounces at lists.linuxcontainers.org] on behalf of Harald
> Dunkel [harri at afaics.de] Sent: Tuesday, February 04, 2014 1:29 AM To:
> lxc-devel at lists.linuxcontainers.org Subject: Re: [lxc-devel] [PATCH]
> support a custom CentOS repository
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi folks,
> 
> On 02/04/14 02:18, Serge Hallyn wrote:
> >
> > 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?
> >
> 
> One important point in having a local repository is to make
> installations reproducible. I could take a snapshot of the currently
> available packages on the official mirrors to run my own frozen
> mirror, or I could loop mount the released DVD.
> 
> This would not work if the official CentOS repository is still in the
> loop.
> 
> Don't get me wrong, I highly appreciate the efforts of the CentOS
> folks to keep their distro up-to-date. But CentOS 6.3 cannot be
> installed anymore, since it has been wiped off the mirrors.
> 
> 
> Many thanx
> Harri
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> 
> iQEcBAEBCAAGBQJS8Ii9AAoJEAqeKp5m04HLD/YH/163P20MVDFUztQkO3NfcNkK
> pBXLk4UMNt7Qu6gK9RT0YA+OV4NOXAa4Nnc4b7VvQhNQt0AU4928wMW/1Hq12zb/
> t2iP2yb+/iv2qHwnSuax5bIR+LSYgvx5IAB7QF0AICSYPb/OAuJdoHfqEq55CF35
> Ddr+QsoEKyWm4MMeR2hDq1OkR2PIOmT/5ZJSlbmh6ecGnJqKbj2vfkjGtcSa9GAF
> YnsD2NQC//SIBrexsU6YnQFXOt5iWHYjaeuOAG5EuUMbkDXrjhUCymz8Ol/DXayz
> DNWNAMSUnuIEZDI5aG2eiI6HlSB480BSi7lRFRfRV6M5vjhCtU2yG/+A3nkXgb8=
> =2vRW
> -----END PGP SIGNATURE-----
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel



More information about the lxc-devel mailing list