[CentOS-virt] Suggestions to improve this minimal kickstart config for CentOS 6?

Fri Jul 22 16:01:11 UTC 2011
Kartik Subbarao <subbarao at computer.org>

On 07/21/2011 09:51 AM, Manuel Wolfshant wrote:
 >> http://wiki.centos.org/TipsAndTricks/KickStart
 >> Does anyone on this list have write access to that Wiki page? Since it's
 >> the #1 google search result for "centos kickstart", it'd be ideal to
 >> have it linked from there.
 > Enjoy.

Thanks Manuel, I'm sure this will be of help to many folks!!

One suggestion -- when I deployed the ks-minimalC6.cfg, there were still 
some -firmware packages that got installed and were not removed by the 
kickstart process. I noticed that you explicitly remove various firmware 
packages by name with the '-' notation. Another approach would be to 
remove them all programmatically in a %post section, like this:

rpm -e $(rpm -qa | grep -i \\-firmware | grep -v kernel-firmware)

That way, you don't have to specify each one by hand, and have to keep 
track of them if a new one shows up in a future release. It also makes 
the kickstart file smaller. It's unlikely that an RPM that matches 
"-firmware" is going to be relevant to a VM, so it seems like a fairly 
safe approach. Just a suggestion.