[CentOS] Adding Update repository at install time

Natxo Asenjo natxo.asenjo at gmail.com
Tue Dec 4 21:58:08 UTC 2012


On Tue, Dec 4, 2012 at 10:42 PM, Robert Moskowitz <rgm at htt-consult.com> wrote:
>
> On 12/04/2012 04:27 PM, Natxo Asenjo wrote:

>>> 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
>
>
> I am in the install at the selection of which type of install (I chose Web
> Server). So 'Add Additional software repositories' does not have any cost
> item in the dialog box.
>
> Do I just name the repo "Centos updates" and point to my URL?

I'm sorry, I am afraid I misunderstood the question. I thought you
wanted to modify a kickstart file, my mistake (for me netinstalls
equal pxe and unattended, but it does not have to be).

-- 
groet,
natxo



More information about the CentOS mailing list