CentOS 7 yum-cron enablerepo and disablerepo options

Dan Bullock bullockdan1 at gmail.com
Thu Dec 21 11:46:18 UTC 2017


Does yum-cron (CentOS 7) support the use of disablerepo and enablerepo?  My
need is to be able to provide automated OS updates, but disable any non-OS
repo's on the server.  CentOS 6 solution is setting /etc/sysconfig/yum-cron
YUM_PARAMETER to:

"--disablerepo="*" --enablerepo=repo1,repo2,repo3"

I know the base section of yum-cron.conf can handle exclude = "package".
Where can I find documentation for /etc/yum/yum-cron.conf for options not
included in the initial configuration file?

Thanks very much and happy holidays!

Regards,

Daniel Bullock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20171221/2fb617d8/attachment.html>


More information about the Yum-devel mailing list