Miroslav Tomic wrote:
> Don't confuse repositories ("cobbler repo add")
with install trees
> ("cobbler import"). They are not the same.
>
Ok, it seems I confuse these two things. maybe this will clarify things
a bit:
What I would like to do is to somehow make use of a Fedora mirror that I
already have within my network and not to copy all needed content on my
cobbler server. Fedora mirror server and cobbler server are two distinc
machines, they do not reside on the same machine. On the other side,
mirror already possess the needed dir structure under
http://my.mirror.here/fedora/linux/releases/9/Fedora/i386/os/, which is
basically the same as the one on DVD.
My question is, how can I make use of that, without needing copying
anything on cobbler server?
Cobbler import with "--available-as" is in fact what you want if it is
the same as the DVD structure. If it's not, you may wish to skip
"cobbler import" and just do "cobbler distro add" to add the installer
kernel+initrd.
Package mirroring (such as "Everything" and "updates") is done with
"cobbler repo add" / "cobbler reposync". If you already have a repo
mirrored, you can use "cobbler repo add" with "--mirror-locally=0" to
represent it in the configuration. Then you edit the cobbler profile
objects to mention which repositories they use with "cobbler profile
edit --name=Fedora-9-i386-profile --repos="F9-i386-Everything
F9-i386-updates" or equivalent.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler