I was wondering about an easier way to include all packages actually
installed on system in the %packages section of a kickstart file,
using as few lines as possible, with groups, individual packages and
exclusions, so I decided to create a BASH script to help doing that:
If you want to test, just download it, give execution permission, take
a comps.xml file and run it, as follows:
$ chmod +x getPackages.sh
$ su -c 'yum makecache'
$ zcat /var/cache/yum/fedora/Fedora-9-comps.xml.gz > comps.xml
You're all welcome to test, modify and redistribute the code. I hope
this can be useful.
Linux System Administrator
LPI Certified Level 1: LPI000132770
Revista Fedora Brasil, Editor-In-Chief
Fedora Project, Ambassador