Centos 8 : setup auto updates
Posted on February 2, 2021 • 1 minutes • 54 words • Suggest Changes
A quick howto install automatic updates on Centos 8 using the new dnf command;
Install :
dnf install dnf-automatic -y
Config :
nano /etc/dnf/automatic.conf
from
apply_updates = no
to
apply_updates = yes
Add to systemd :
systemctl enable --now dnf-automatic.timer
Check / verify :
$ cat /etc/systemd/system/timers.target.wants/dnf-automatic.timer $ systemctl list-timers dnf-* | grep automatic