Miroslav Tomic wrote:
Hi to all members of this list!
I'm really new to Cobbler and trying to build up a stateless linux
server. Within my network infrastructure is a Fedora mirror that I mean
to use with Cobbler, if it's possible. I'm trying to understend the
concept and all the settings one must set in order to all that work.
First of all, it would be nice to see some guide on /etc/cobbler/setting
file, although many things are selfexplanatory I would still appreciate
some howto that would go into deep with all the possibilities.
The file's comments document what each option does, and "cobbler check"
will make sure the important
options are set.
On the
other side, can i use somehow my existing Fedora mirror for cobbler
import? What I meant is to run a command like this:
Don't confuse repositories ("cobbler repo add") with install trees
("cobbler import"). They are not the same.
cobbler import --mirror=/tmp/F9 --name=F9
--available-as=ftp://my.mirror.net/linux/fedora/releases/9/fedora/i386/
When this command is executed, all I get is:
----------- (adding distros)
----------- (associating kickstarts)
----------- (syncing)
It would depend what was at "/tmp/f9" in the above case. I can't tell
from the above.
If I run cobbler report afterwards, see nothing. Is this the way it
should be? The idea is to use existing mirror instead of copying data
onto server. Is this the way it should be done?
Depends what you had mirrored. If that's a copy of the install tree,
then yes, the above is correct, but it seems to /not/ be correct as it
failed
to add any distributions. Do a "ls -l /tmp/f9" and "tree -d /tmp/f9"
and
post what you see in that directory, that should be helpful in sorting
out your import question.
Thank you for your answer in advance!
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler