diff --git a/infrastructure/system-upgrades/fedora.yaml b/infrastructure/system-upgrades/fedora.yaml index 28593e454e83fe5fe6a8f26608caa403ee9f9c25..bc18855c2b104fcc8fbf4177b8ad598fecc0bcd2 100644 --- a/infrastructure/system-upgrades/fedora.yaml +++ b/infrastructure/system-upgrades/fedora.yaml @@ -12,7 +12,7 @@ stringData: set -x dnf install -y dnf-utils dnf upgrade -y --best - if needs-restarting; then + if ! dnf needs-restarting --reboothint; then systemctl reboot fi ---