[CentOS] Adding Update repository at install time

Natxo Asenjo natxo.asenjo at gmail.com
Tue Dec 4 21:27:29 UTC 2012


On Tue, Dec 4, 2012 at 9:50 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
> This is easy with Fedora, as the various 'common' repos are listed and
> all I have to do is change the URL....
>
> Anyway, I am doing a netinstall of Centos 6.3 i386 from my local repo.
> I also have the updates repo.  How can I add the updates repo so that I
> get it up to snuff right away (like I have been doing with Fedora for
> quite some time)?

You can use the --cost option in the repo section
(http://fedoraproject.org/wiki/Anaconda/Kickstart#repo).

This works for me:

repo --name="Centos" --baseurl=http://host/mrepo/centos6-i386/RPMS.os --cost=100
repo --name="Centos updates"
--baseurl=http://host/mrepo/centos6-i386/RPMS.updates --cost=100

-- 
groet,
natxo



More information about the CentOS mailing list