Re: kickstart vs. yum

seth vidal <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <20120211200329.28ae2bd4@opus>
On Sat, 11 Feb 2012 16:35:00 -0500 (EST)
Bryan Smith <[email protected]> wrote:

> Understood.  I was referring more to piping the information out as
> you desire, hence the "P.S." (and not really part of my response).
> But thank you for pointing out one should script around repoquery
> instead of yum, and that was an oversight on my part.
> 
> I also noted the comps.xml file in my "P.S.," which I've written Perl
> around in the past.  I've also done some custom Anaconda Python
> modification, but that was years ago (FC6/RHEL5 timeframe, long
> story, you might remember some of it).  I guess I was referring more
> to modifying the comps.xml file directly, to add new groups.  Is
> there a better method via the Python API to do such?  Or is it okay
> (or even best) to do it off-line, on the comps.xml file directly?



yum-groups-manager lets you edit/add groups to a comps file.
It's in yum-utils. however, let's be clear -it's just xml and not
terrible complicated xml, especially if you only care about one
language.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.