This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
how_to [2016/08/22 18:44] k2patel [Run single command parallel'y with diff values] |
how_to [2016/12/08 19:00] k2patel [Run single command parallel'y with diff values] |
||
---|---|---|---|
Line 446: | Line 446: | ||
</code> | </code> | ||
</WRAP> | </WRAP> | ||
+ | |||
+ | ==== Print yum variable value ==== | ||
+ | <code python> | ||
+ | import yum | ||
+ | import pprint | ||
+ | |||
+ | yvar = yum.YumBase() | ||
+ | pprint.pprint(yvar.conf.yumvar, width=1) | ||
+ | </code> |