LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 09-09-2008, 08:01 AM   #1
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
list of packages found in group selection in Kickstart


Hi,

I'm building a series of Kickstart configurations for a large roll-out. I'm trying to skinny down the servers so they are not vulnerable to attack (or as minimal as possible) and also cut down the Admin overhead.

I'm having to reverse engineer some if this due to a previous admin doing some of the work. The Kickstart config selects a range of Groups or packages and I'm trying to find out what packages are in each group.

Google says to look in repodata/comps-distro.xml but mine seems to be full of a lot of rubbish.

Any pointers?

Cheers,

Stuart.
 
Old 09-09-2008, 10:36 PM   #2
zmanea
Member
 
Registered: Sep 2003
Location: Colorado
Posts: 85

Rep: Reputation: 15
The comps.xml contains many different languages, it can look bad in a text editor but the information is there.

You could go through an install to see what packages are in each group or you could probably get an idea from this link:

http://penguin.triumf.ca/comps/as4/c...ang-en_US.html
 
Old 09-10-2008, 03:57 AM   #3
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Original Poster
Rep: Reputation: 36
Eric,

You're a star, thats superb. Also took a look at your site, I liked the 'add colour to grep', still using it, it makes me laugh!

Stuart
 
Old 09-11-2008, 11:04 AM   #4
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Original Poster
Rep: Reputation: 36
I found a better way (although not pretty) to check for each distro. If you mount the distro/iso and look in ./Server/repodata/comps-rhel5-server-core.xml, do a cat of this file but 'grep -v 'xml:tags' redirect into a file and its much easier to read.
Could use XSLT but don't have time to learn now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with packages - local list doesn't list all packages from a mirror simopal6 Debian 2 09-01-2008 05:44 AM
how to enable package selection in system-config-kickstart in rhel5 mamtasahai1 Linux - Enterprise 3 05-08-2008 10:51 PM
java list selection ordering: trscookie Programming 1 01-29-2008 07:55 AM
Extract selection list from another site matthewchin Programming 1 12-05-2005 09:14 PM
Low RPM List Selection For LE2005 EHCanadian Mandriva 2 06-23-2005 03:36 AM


All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration