Evan
I know nothing about kickstart but it mught be realted to a problem I
had in Debian where the -w option (wait for cert) was set to 0 in the
init script, causing it to silently fail immediately rather than
waiting for a signed certificate. I modded our 'kickstart' (FAI)
config to replace the init script with one that had a sane wait for
cert value.
Hope that helps.
--Paul
You probably need to set the hostname before running puppetd, anaconda
doesn't set it.
this kickstart file, courtesy of dlutter, may be what you're looking for:
http://people.redhat.com/dlutter/kronolith-appliance/kronolith.cfg
Evan
You can find some info about that on my blog[1] One of the important
things to remember is that anaconda does not set the hostname, and you
need to get it out of /tmp/netinfo if you want to run puppet during the
install. Of course, you can also delay the first puppet run until the
boot after installation, by just installing it and turning it on with
chkconfig.
David
[1]
http://watzmann.net/blog/index.php/2006/12/05/kickstarting_into_puppet
I already knew these issues from other software products, so I ususally
don't try to do anything from %post :)
What we actually do is the following:
We have a one-line install for puppet that can be invoked like this:
wget -qO- http://our.puppet.server/installpuppet | sh
So all I had to for kickstart was:
- make sure kickstart installs "wget" and "at" (ususally it just does that)
- configure mail-forward for root, so the mail from at won't get lost
- schedule installation using at. As at doesn't run in anaconda your job
will be queued for later (i.e. after first bootup)
- monitor my inbox for the mail from at to show up
So after all I just add something like the following to my ks-file:
%post
(
echo 'operato...@example.com' > /root/.forward
echo 'wget -qO- http://our.puppet.server/installpuppet | sh' | at now
) > /root/post.log 2>&1
Hope that helps.
Regards,
Andreas
--
Solvention
Egermannstr. 6-8
53359 Rheinbach
Tel: +49 2226 158179-0
Fax: +49 2226 158179-9
Evan