Leonid Flaks wrote:
> Hi!
> I am using cobbler reposync to make local mirrors on some of repos. The 
> reposync process creates config.repo files for each repository (mirrored 
> or non-mirrored - no difference). If I don't do anything, this file 
> would have a line 'gpgcheck=0'. I want to have it as 'gpgcheck=1'.
> I found that I can put it as an option in 'Yum options' field in web UI, 
> but I need to do it in every repository. Is there way to make it as a 
> default setting in, say, /etc/cobbler/settings file? 




> At the very end of 
> this file I see yumreposync_flags and yumdownloader_flags, but not 
> yumconfigrepo_flags (or something similar)
>
> This is a low priority issue, obviously.
>   

It's not supported presently. We do have defaults for some commonly set 
settings, but that is not one of them.
That would require a code change.

(The code change isn't actually that big -- we just need to run the repo 
object through "utils.blender" and put a new value in settings)

Patches to cobbler-devel list are welcome, as are RFEs on the Trac page 
... have too much other stuff going on to get to this anytime soon, and 
a nice RFE backlog otherwise. But if someone wants to add this it would 
be an easy one.

> Thanks,
> Leon
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to