As a part of spacewalk (
https://fedorahosted.org/spacewalk/wiki) we were
planning to add an interactive cobbler setup script that basically asks
a bunch of questions and sets up the cobbler configs accordingly.
Basically we are filling out things that cobbler check asks for..
Given this context I was wondering if it would make sense to have a
cobbler-setup tool as a part of the cobbler upstream itself. For example
we can have a good default configuration setup and then have the user
run this script where it asks questions like "do you want PXE setup" and
if so "provide the next server ip" and so on... We can either do it
that way or in addition have cobbler setup take in arguments like
--enable-pxe --next-server-ip=xxx.xxx.xxx.xxx and cobble up a default
cobbler configuration... Here is an example workflow
# yum install cobbler
# cobbler-setup
.....question - answer session....
...Your cobbler configuration has been setup running cobbler check....
..looks ok...
...start httpd..
# cobbler import ....
Please let me know if you'd find such a script useful. Any suggestions
or comments about the way you'd like the setup script to function would
be great..
Partha