Yum Variables Revision as of Sunday, 20 December 2015 at 19:56 UTC
Listing
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
Creating
E.g. $osname
echo "Scientific Linux" > /etc/yum/vars/osname
python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'
E.g. $osname
echo "Scientific Linux" > /etc/yum/vars/osname