[SLL] yum repos and the mysterious life of releasever
jkeating
jkeating at j2solutions.net
Wed Oct 17 16:46:46 PDT 2007
On Wed, 17 Oct 2007 16:40:03 -0700
Bill Campbell <bill at celestial.com> wrote:
> OK for a concrete example, but relating to kickstart, let's say I
> have a local mirror of the CentOS updates on in internal ftp
> server, accessible via anon-ftp as follows:
>
> /mirrors/centos/4.5/updates/i386
> /mirrors/centos/4.5/updates/x86_64
> /mirrors/centos/5.0/updates/i386
> /mirrors/centos/5.0/updates/x86_64
>
> What do I put in my ks.cfg file, something like this for a 32-bit
> CentSO 5 system?
>
> repo Updates ftp://ftp.example.com/mirrors/centos/5.0/updates/i386
I think the command (at least in Fedora) is
repo --name=Updates
--baseurl=ftp://ftp.example.com/mirrors/centos/5.0/updates/i386
>
> I would also like to be able to specify this same site for
> updating our local systems using ``yum update''. Would I then
> hack the /etc/yum.repos.d/CentOS-Base.repo file modifying the
> [updates] section with a line like:
>
> baseurl=ftp://ftp.example.com/mirrors/centos/$releasever/updates/$basearch/
You could add it there, or you could create your own .repo file in that
directory and define it in there too.
--
Jesse Keating RHCE (jkeating.livejournal.com)
Fedora Project (fedoraproject.org/wiki/JesseKeating)
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20071017/43ae630a/attachment.sig
More information about the linux-list
mailing list