Yum Variables Revision as of Friday, 27 December 2024 at 23:30 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