Centos 8 : setup auto updates

Posted 02 February, 2021

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

Show Comments (0)
© SvennD