Michael J McCafferty wrote:
John,
I once tried to do all kinds of neat stuff with kickstart. I gave up. I
never got the %post scripts to work at all, except the most very basic
commands. It was probably me, but I gave up on the automation I wanted
to put in %post and wrote a bash script and included in the procedure
docs to run the bash script manually. :o(
It was you. :) %post is just a chroot environment into the root of the
new machine. You can basically do whatever, but you have to have the
stuff you want to use installed. My %post environment basically sets
static IP's, updates yum.repos.d to point at our internal repository,
downloads an update.conf for cfengine, and does a yum -y update. Yes, I
know I could just rebuild the iso image I use to install with current
packages, but it's just as easy to do this over gig.
FWIW, CD's are so 90's... :) So no I've never tried copying stuff off
a CD. I just mount the iso image on the server, boot over PXE and point
kickstart at the url.
For you non-debian guys, here's a trick to get a SMALL system with
Redhat/Centos. Like I said you need really specify what's on the box,
this is very minimal, to the point of leaving out man , etc. Do this in
your kickstart %packages. You end up with something like 135 packages
installed, or thereabouts. Similar to debian's "Base"
%packages --nobase
Mark
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list