Chris O'Regan wrote:
> 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.
>   

Right, Bret McMillian already pointed out this as well. The manpage docs 
are already fixed on the development branch.

--mirror-locally=1 mirrors the external source and makes it available 
via http://
--mirror-locally=0 references the external source directly and requires 
http:// or ftp://

--Michael


> 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
>   

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

Reply via email to