On Sun, Mar 06, 2011 at 05:09:19PM -0500, Alan Crosswell wrote:
Does cobbler support metalink URLs for repos like those found in
/etc/yum.repos.d? Something like (with the variables expanded for the
specific release and arch):
https://mirrors.fedoraproject.org/metalink?repo=fedora-14&arch=i386
Last time I tried this, I found I had to provide a specific mirror.
True, doesnt work.
Apparently to check availability of the mirror 'cobbler reposync' tries
to fetch 'repodata/repomd.xml'. For a url you have in mind like
https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
the possible values of $basearch you want to use would have to be guessed
by reposync.. maybe the check could be disabled. When repos are not to
be mirrored locally fetching 'repodata/repomd.xml' serves no further
purpose than 'quick check' as i see it. Might be deeper magic there thou.
Christian