[CentOS] local yum mirrors and yum.conf.d
amyagi at gmail.com
Fri Jul 20 19:40:20 UTC 2007
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 only.
More information about the CentOS