On 07/09/2009 11:38 PM, Léon Keijser wrote:
On Thu, 2009-07-09 at 17:33 -0400, Jasper Capel wrote:
This should not be an issue, if your reposync'ed repositories for RHEL / CentOS 
(base and updates) are also set to priority=1, you can set this on the repo 
object.

I'm talking about when you do a `cobbler import`, cobbler will
automatically create a repository for you
in /var/www/cobbler/ks_mirror/<distro>. This repo doesn't show up in
`cobbler repo list` so i can't edit it.

You're wrong here.   This is not a repo.  This is an install tree.

Cobbler will make certain directories under that into yum repositories by running createrepo on them.

But yes, there is no repo object to represent these. Adding these were what we were talking about doing, to make it potentially more obvious for people who absolutely must know how things work. Really though, I think "it just works" is suitable and hiding that the install tree has been repo-ized is not as important.

And even if i would sync 'base' repositories, i'm still stuck with a
'distro repo' with priority=1.


This is why I suggested we make a setting for this, if needed, to change the base default...



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

Reply via email to