Re: yum list all its variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/31/2012 08:58 AM, James Antill wrote:
Mihamina Rakotomandimby<mihamina@xxxxxxxxx>  writes:

Hi all,

Is there a yum command to make it lists all its variables?
For example:

$ yum list-variables
  * $releasever: 5.8
  * $basearch: i386
  * ...

  The only thing that's close is the "yum version" command which will
show the $relasever and $basearch.

  What do you need this for?
  It might be worth adding to repoquery or yumdb, if there's a good
usecase.


I've thought it would be useful for determining the actual urls for things like:

mirrorlist=http://linux.dell.com/repo/hardware/latest/mirrors.cgi?osname=f$releasever&basearch=$basearch&native=1&dellsysidpluginver=$dellsysidpluginver

I.e. printing out $dellsysidpluginver

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux