Hi there,
I’m trying to do the equivalent of Ubuntu’s automatic security updates on Fedora Server (also known as unattended updates).
I think our Fedora automatic updates docs and the dnf-automatic docs are missing an important point currently: how to configure sudo nano /etc/dnf/automatic.conf
. My install only contains upgrade_type = default
which isn’t a valid.
These 3 steps are already in the Fedora automatic updates docs:
sudo dnf install dnf-automatic
- configure
sudo nano /etc/dnf/automatic.conf
- doesn’t say how though.
I think we should add a “default config” (below) to step 2, which a user can then customize:
[commands]
apply_updates=True
reboot=when-needed
And then step 3 as-is systemctl enable --now dnf-automatic.timer
What do you think?