[CentOS] Adding Update repository at install time

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

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

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