diff --git a/infrastructure/system-upgrades/fedora.yaml b/infrastructure/system-upgrades/fedora.yaml index bc18855c2b104fcc8fbf4177b8ad598fecc0bcd2..0dd065a08bc7c7ddba718c3d3936cccaed3937e5 100644 --- a/infrastructure/system-upgrades/fedora.yaml +++ b/infrastructure/system-upgrades/fedora.yaml @@ -10,8 +10,9 @@ stringData: #!/bin/sh set -e set -x - dnf install -y dnf-utils - dnf upgrade -y --best + dnf install -y dnf-automatic + systemctl enable --now dnf-automatic.timer + systemctl start --wait dnf-automatic-install.service if ! dnf needs-restarting --reboothint; then systemctl reboot fi