Michael,
I assume you mean on hosts which you installed with Cobbler? In that case, it depends. There is an entry called "Repos" on the objects, I conveniently set them on the profiles, in which you add references to the mirrored repos. If you then also have a $yum_config_stanza in your kickstarts %post section, cobbler will create a cobbler-config.repo in the hosts /etc/yum.repos.d/ folder. Note that this is not necessarily enough for RHEL/SL/CentOS, as they have rpms which contain the upstream repos. So I usually exclude the yum-config packages from installation and check for other repo files in my post scripts. btw, if you also add a $yum_repo_stanza in the head of your kickstart, you can directly use the additional repos during installation, which is e.g. handy for installing with the updates repo or EPEL enabled.
Cheers Andre
----- Ursprüngliche Mail -----
On 8/12/14 3:02 PM, alastair@alastair-munro.com wrote:
Added a page on the wiki on how to create your own custom repos for putting rpms that don't fit anywhere else:
This leads me to a question that I've been working on.
I just need to know if I've been working under an incorrect assumption.
I was under the impression that *somehow*, if I add a repo (and mirror it) under cobbler (e.g. EPEL) that cobbler would/could create a repo entry, in my case, in /etc/yum.repos.d/ for EPEL that points to my mirror and not to the upstream master.
Did I mis understand something?
Right now I'm assuming that I've not gotten that part of the configuration done correctly and will eventually "get it right" along with all the other things I'm doing.
Thanks for everyone's time. _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler