I remember in the past, being able to remove packages to be installed in kickstart by naming the package, and adding a - infront of it... such as -wget. Im not entirely sure when this has changed, or what changed, but centos (redhat) now is far from minimal, on its minimal/bare install setting.
a bare install via kickstart ends up with about 1150MB, bare install from the interactive installer gives me ~720MB. By specifying --nobase, ive managed to cut it down to 644MB.
To put this in perspective, ive created a 10MB bootable redhat installer CD, which is set up to download centos 4.5 off of my network web-server. The goal was to have a bare-minimal (and by minimal, I actually mean
MINIMAL) linux operating system prepared for installing Vmware server. Redhats current minimal install is more bloated than a full ubuntu install.
To be clear:
I do
not care about memory usage
I do
not care about security
This "minimal" attempt of mine is to reduce download size. Eventually I plan on distributing this, and considering most people would rather not download 644MB of linux + 120MB of vmware, I would like to cut it down as much as possible. It wont be running SSH, HTTPD, FTP, NFS, SAMBA, or anything else.. Just the OS, and what's needed to run Vmware.
I will have to determine later what vmware actually needs, and doesnt need... But I would like to stick with Redhat, and no thanks... I am not going to try gentoo or ubuntu, id rather use Redhat.
Ive spent the past four or five hours messing around with the ks.cfg file, and googling for any information. There is a thread on this at the redhat bugzilla :
https://bugzilla.redhat.com/show_bug.cgi?id=139364 but aside from this, I could not find any other information. Im not expecting a 100MB redhat install, although I feel 644MB is a bit too bloated for what im doing. On low end DSL, even 10-20MB less makes a big difference in download time.
Can anyone offer any help on how to cut down on the packages, with commands that *actually* work?
Code:
# Kickstart file
install
lang en_US
langsupport --default en_US
keyboard us
mouse generic3ps/2
skipx
network --device eth0 --bootproto dhcp
url --url http://isoredirect.centos.org/centos/4.5/os/i386/
rootpw --iscrypted Kjs.0l8anffFM
authconfig --enableshadow --enablemd5
timezone America/New_York
%packages --nobase
perl
policycoreutils
wget
xorg-x11-libs