[CentOS] local repo
geisj at pagestation.com
Fri May 27 15:22:18 UTC 2011
When I am installing I use kickstart and have a line like:
and that works great for installing the OS.
After that the machine reboots and I have it automatically go into
additional installations running scripts.
These installations do "yum install XXX".
However, its no longer using my above repo its using the mirrorlist (as
My questions are :
1) I dont see a way in yum to say "use this repo to install", is there a
way to point to my server in the office
and dont do the mirrorlist.
2) Do I just drop a file called CentOS-office in the /etc/yum.repos.d
that looks like this and it will be used first instead of the mirrorlist:
name=CentOS-$releasever - Base
name=CentOS-$releasever - Updates
I dont want to mess anything up and I want additional package installs
in the office to go faster
in the office. I can remove the file when I am done installing.
Is there a better way or is this the way to do it?
More information about the CentOS