Yum Variables Revision as of Wednesday, 26 June 2024 at 10:57 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