[Yum-devel] @groupid instead of groupname?

James Antill james.antill at redhat.com
Mon Oct 13 00:41:59 UTC 2008


On Mon, 2008-10-13 at 02:54 +0300, Axel Thimm wrote:
> Hi,
> 
> anaconda kickstart files use the <id> tag for the groups, e.g.
> 
> @office
> 
> while yum groupinstall uses the name in the locale like
> "Office/Productivity".
> 
> Is it possible to pass @office like ids to yum groupinstall? Or maybe
> through some magic mini python script (hi Seth :)?
> 
> The background is that I'm trying to move some installation parts from
> the kickstart file to post reboot time to speed up the base install
> time (it's also something cobbler suggest to do when combining with
> something like puppet/bcfg2 etc.).

 yum groupinstall matches against the name or the id for groups (with a
couple of edge case fixes in 3.2.15, and the addition of comma for
multiple groups and wildcard support: yum groupinstall 'Office*' etc.).

> It would be nice to be able to cut and paste stuff from anaconda to
> yum digestible syntax and vice versa.

  3.2.18 added support for @group to the install/update/remove commands,
so you can use a single yum instance to install a single package and a
group. And also copy/paste lines from kickstart to yum install :).

-- 
James Antill <james.antill at redhat.com>
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20081012/638aa9dc/attachment.pgp 


More information about the Yum-devel mailing list