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)?
thanks.
On Tue, Dec 4, 2012 at 9:50 PM, Robert Moskowitz rgm@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
On 12/04/2012 04:27 PM, Natxo Asenjo wrote:
On Tue, Dec 4, 2012 at 9:50 PM, Robert Moskowitz rgm@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
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?
On Tue, Dec 4, 2012 at 10:42 PM, Robert Moskowitz rgm@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).
On 12/04/2012 04:58 PM, Natxo Asenjo wrote:
On Tue, Dec 4, 2012 at 10:42 PM, Robert Moskowitz rgm@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).
I have always used a local repo as faster and more assured than CD/DVD. Back when you had to stuff in 5 CDs (pre-DVD days for me) too often a CD failed in the middle of the install, so I got in the habbit of using a local repo for at least the OS. With Fedora, I added a local update repo as well to eliminate a 2-pass install.
I HAVE used kickstart files where I would do an install, mess around, then blow it away and install again.
On 04.12.2012 20:50, Robert Moskowitz 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)?
thanks.
Hi,
Yes, you can simply add another repo, name it whatever you want (e.g. updates) then add the local path, e.g. http://192.168.0.1/centos/6/updates/x86_64/ I do this all the time when I install, too (though I use the PXE method to initialise it).