Partha contributed a nice script yesterday that is designed to make cobbler even easier to install, so I wanted to post to the list about it since the original patch bounced off the mailing list. This new program is installed by the RPM as /usr/bin/cobbler-setup and is designed for new installations only.
I've tweaked his patch somewhat for style/output/control-flow-of-questions and also packaged it. There are a couple bugs in it presently -- /usr/share/cobbler/installer_templates/*.template are based on an old version of cobbler so are missing newer settings -- Some installer choices like the authn/authz modules result in errors when I try to type in the values (I am pretty sure I broke this myself) -- It could do a bit more to ensure things reported by cobbler check are fixed prior to running check -- service started/chkconfig status, making sure /etc/xinet.d/tftpd is enabled, etc. -- I've also added some FIXME's in the cobbler-setup file (saved under "scripts/" in git) about checking for return codes and switching over to subprocess. This is somewhat Red Hat specific at this point, other distributions would not have to package it. Basically we're building an installer so that we call it from within the Spacewalk/Satellite installer, which is somewhat interactive. For those that don't like interactive installers, editing settings and modules.conf directly is still 100% supported and will continue to be that way, this is mainly there to help the folks who don't have the time to read up on Cobbler. I'd appreciate folks looking at the questions asked to see if they make sense -- currently it doesn't ask about /all/ the questions it could ask, but is intended to just set up the basics, with the thought if users want they can ask for more details later -- we certaintly don't want to make anyone feel like they are compiling Perl or the kernel :) Partha, if you can take care of the templates being backdated and fix the FIXMEs, that would be appreciated, though I've gone ahead and committed this to git. The biggest problem right now is that the DHCP/DNS questions (or any of those that take an enumerated answer) seem to not be taking user input. Much appreciated, Thanks! --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
