Red Hat Installation - List of install packages for kickstart

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > April 2007 > List of install packages for kickstart





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author List of install packages for kickstart
Affan

2007-04-23, 7:22 pm

Hi,
is there an easy way/list of what packages can go in the %packages
section of ks.cfg?
Specifically I would like to convert an image of an existing machine
using maybe something like rpm -qa to replicate all the rpm's on that
machine into a list of packages that get installed when i kickstart?

Thank you.

Affan.

Lenard

2007-04-25, 1:19 am

Affan wrote:

> Hi,
> is there an easy way/list of what packages can go in the %packages
> section of ks.cfg?
> Specifically I would like to convert an image of an existing machine
> using maybe something like rpm -qa to replicate all the rpm's on that
> machine into a list of packages that get installed when i kickstart?


rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" | sort > install.txt

If you need the rpm extension then add it;
rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" | sort > install.txt

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com