You can remove the $yum_repo_stanza and $yum_config_stanza lines and write your own snippets. In 2.4.0 I added the repo data to the variables available in the kickstart template, so you should be able to reference them directly.

The variable name is $repo_data, and is an array of dictionaries representing the repos you have configured for that profile/system.


On Mon, Aug 19, 2013 at 5:21 PM, Pinda Ndaki <pinda@ndaki.com> wrote:
I'm creating a cobbler profile for CentOS 6 and I want to point it at yum repos hosted by a local (to the network) pulp server. I have CentOS 6 repos that already exist in our Cobbler and want to leave them in place while we migrate to the pulp servers  I've created the new repos that point at our local pulp but when I create a profile to use only them Cobbler adds in the other CentOS 6 repos automatically when I save the change to the profile (I created the profile by copying the existing CentOS 6 profile).

What can I do to have Cobbler only use the repos I select?
 

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler