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 <[email protected]> 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?
>
> Thanks,
> Pinda Ndaki
> [email protected]
> ph: (650)307-5261
> cell: (240)793-2608
> fax: (877)408-7290
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to