I'm trying to create a kickstart file for automated installs (I'm using the graphical kickstart creator), and am up to the part where I can select packages to install.
Problem is, there are hundreds of packages to choose from. The list of packages I would like matches that currently installed on this system. What is the easiest way to get that information into my kickstart file? I don't want to have to manually select each one.
If it helps, my system was basically set up with "Virtual Host" as it's install type, plus some options selected from the "Desktops" category.
Thanks for your help.
Populating packages to install with kickstart
Re: Populating packages to install with kickstart
Your best bet is to actually install a single example system and use the corresponding /root/anaconda-ks.cfg as the major basis.
Re: Populating packages to install with kickstart
If you have a system with the set of packages you want to have installed on it then why not just run
[code]
rpm -qa --qf '%{name}\n' | sort -u >> mykickstart.ks
[/code]
[code]
rpm -qa --qf '%{name}\n' | sort -u >> mykickstart.ks
[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Populating packages to install with kickstart
Looks like a couple of good answers already, so just let me welcome you to the CentOS fora and recommend the links in my signature.
If the solutions here are suitable for you please respond with a reply including [SOLVED] in the subject so a moderator can appropriately mark the topic.
If the solutions here are suitable for you please respond with a reply including [SOLVED] in the subject so a moderator can appropriately mark the topic.