[CentOS] Restricting mirrors off a repo
Johnny Hughes
johnny at centos.orgSat Jan 21 16:09:44 UTC 2017
- Previous message: [CentOS] Restricting mirrors off a repo
- Next message: [CentOS] amanda and selinux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 01/19/2017 03:57 PM, Mauricio Tavares wrote: > What is the best way to specify which mirrors off a repository you want to > use? Have a host with rather restricted egress rules and want to allow it > to reach a couple of mirrors for each repo it needs. And, yes, I am not > ready to mirror them locally. You can do this many was .. if the mirrors you want to use are always the same, you can just remark out the mirrorlist line and use more than one baseurl, like this in your .repo file: baseurl=http://192.168.0.5/centos/$releasever/os/$basearch/ http://192.168.0.10/centos/$releasever/os/$basearch/ (in case this wraps .. each url can be seperated by white space and only one baseurl=) You can also, if you want, write your own mirrorlist providing app .. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20170121/09ea4da1/attachment-0001.sig>
- Previous message: [CentOS] Restricting mirrors off a repo
- Next message: [CentOS] amanda and selinux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list