dnf-automatic with reboot
We have a bunch of servers that we can reboot without problem outside office hours. So, I'm trying to configure dnf-automatic to reboot whenever an update is applied.
However, I can't get the server to reboot. The updates are applied automatically but I can see not traces of dnf-automatic trying to reboot.
According to the documentation the reboot should be controlled by:
/etc/dnf/automatic.conf
reboot = when-changed # reboot whenever dnf has updated a package
But when I look at the dnf-automatic script I can see no traces of that the script reads that parameter
find /usr/lib/python3.6/site-packages/dnf/ -type f | xargs grep -i reboot
returns zero
So, how should I go about to get the reboot flag working?