[SWLUG] System build script

Justin Mitchell justin at discordia.org.uk
Mon Nov 1 16:32:48 UTC 2010


On Mon, 2010-11-01 at 16:15 +0000, Terry John wrote:
> I am trying to develop a formalised RedHat build and have a few ideas
> of my own to put into a KickStart script but I wonder if anyone knows
> how I can see what the normal build script looks like.
> 
> I'm guessing I'll find lots of, "if this hardware..then.." etc.
> 
> I'd like to see what it looks like to make sure I don't leave out
> anything relevant in my own script.

when you do an install manually it writes a kickstart file of the
options you chose as /root/anaconda-ks.cfg

there is also a kickstart configurator program to help you develop your
own ones

http://www.centos.org/docs/5/html/Installation_Guide-en-US/ch-redhat-config-kickstart.html

alas its not big on conditionals,  you can do that in the free form
scripting %post section, but things can get messy really quickly.





More information about the Swlug mailing list