James Cammarata wrote:
I'm running into a few problems using the built-in method.
First, we were running into this bug with RHEL4.6 kickstarts: https://bugzilla.redhat.com/show_bug.cgi?&id=385161
Not sure if we would want to try and correct that or handle it in some way, but depends on how gluey mpdehaan wants to make Cobbler :) We're currently just using our own snippet which wget's the bootstrap file from the RHN server and executes it, which works flawlessly.
Second, when a system is registered, it shows up as the name "unknown" in Satellite, despite having the --hostname set. As far as I can tell, this is due to the fact that the network service isn't restarted after the post network config, the "hostname" command isn't run, and/or the IP has no reverse lookup set in our DNS. I'm betting adding a "hostname $hostname" to the post config snippet would fix this, but I wanted to ask before playing with this to see if it's (probably) something I'm missing or doing wrong.
So basically the config file layed down for /etc/sysconfig/rhn is syntatically wrong and it blows up? Yeah that is not something I'd want to address in Cobbler. It's not the right place. Teaching old versions of Anaconda new tricks? Yes, because that's the only place we can do that.
For registration questions, and this one, I'd highly recommend spacewalk-list, which is the upstream list for Satellite, rather than cobbler list.
--Michael