Created
March 7, 2021 12:17
-
-
Save qzm/138c50c56e7747dab7e24f60b71983e2 to your computer and use it in GitHub Desktop.
Revisions
-
qzm created this gist
Mar 7, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # Install yum-cron yum update -y yum install yum-cron -y sed -i 's|^download_updates = no|download_updates = yes|' /etc/yum/yum-cron.conf sed -i 's|^apply_updates = no|apply_updates = yes|' /etc/yum/yum-cron.conf sudo systemctl start yum-cron sudo systemctl enable yum-cron