[CentOS-devel] two kickstarts I use around here

Robin Bowes

robin-lists at robinbowes.com
Sun May 9 22:10:40 UTC 2010

On 01/04/10 10:20, Manuel Wolfshant wrote:
> hello
> As asked by Karanbir, please find attached two kickstart files that I
> use. One is used for servers and does an [almost] minimal install (with
> support for ssh -Y);


Your minimal install is interesting.

What does the --excludedocs option to %packages do? I can't find it
documented anywhere?

My approach to a minimal package list has been to use --nobase, then
install the @core group and then install only mandatory packages from
the base group, which I determine dynamically with this (pre-install)
script (I use cobbler):

yum groupinfo base | perl -we 'my $in_mand = 0; while (<>) { $in_mand =
0 if /\s+default packages/i ; print if $in_mand ; $in_mand = 1 if
/\s+mandatory packages/i; }' > /tmp/package_base_mandatory

I then include the generated file in the %packages section.


More information about the CentOS-devel mailing list