According to the man page, "mirror-locally" does the following:

"When true, specifies that this yum repo is to be referenced directly 
via kickstarts and not mirrored locally on the cobbler server. Only 
http:// and ftp:// mirror urls are supported when using --mirror-locally=1."

I'm confused. This above seems to describe the exact opposite of what 
mirror-locally does in practice. That is, --mirror-locally=1 fetches all 
of the packages from the url provided and stores them on the cobbler 
server. I have had to set "--mirror-locally=0" to prevent cobbler from 
downloading everything in the mirrors I set up with mrepo.

Having said that, looking at the source, it seems that the opposite is 
true if we are mirroring from RHN. In this case, mirror-locally must be 
set to "0" in order to fetch the packages.

# rpm -q cobbler
cobbler-1.2.4-1.el5


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

Reply via email to