Adding support for red hat 9 distros
This commit is contained in:
parent
2e71fa3507
commit
e29bf02832
1 changed files with 2 additions and 0 deletions
2
roles/base/templates/dnf-automatic-install.service-9.j2
Normal file
2
roles/base/templates/dnf-automatic-install.service-9.j2
Normal file
|
@ -0,0 +1,2 @@
|
|||
[Service]
|
||||
ExecStartPost=/bin/sh -ec 'dnf needs-restarting -r | grep -q "Reboot is req.*" && shutdown -r +5 Rebooting after applying package updates || exit 0'
|
Loading…
Reference in a new issue