Yum Variables
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