[CentOS] local yum mirrors and yum.conf.d
heinlein at madboa.com
Fri Jul 20 20:01:22 UTC 2007
On Fri, 20 Jul 2007, Akemi Yagi wrote:
> On 7/20/07, John R Pierce <pierce at hogranch.com> wrote:
>> if I have a local centos yum mirror, whats the best way of
>> adjusting the yum.repos.d/*.repo files to use this? If I simply
>> edit CentOS-Base.repo there stands a chance that a yum update
>> could conflict with my changes.
>> am I better off creating a 'new' .repo and setting the stock one
>> to 'enable=0' ?
> In my case, I change the baseurl= line to my local yum repo and
> comment out the mirrorlist= line to force getting files locally
That's what we do as well.
Locally built packages, on the other hand, are stored in a separate
local repo; those do get their own .repo file.
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
More information about the CentOS