diff --git a/infrastructure/system-upgrades/fedora.yaml b/infrastructure/system-upgrades/fedora.yaml index 08b09d5badbb417f8f9675facf6a6d9726989125..594d3bae67e7349ae2983440b853f82c4aadf68b 100644 --- a/infrastructure/system-upgrades/fedora.yaml +++ b/infrastructure/system-upgrades/fedora.yaml @@ -10,7 +10,11 @@ stringData: #!/bin/sh set -e set -x + dnf install -y dnf-utils dnf upgrade -y --best + if needs-restarting; then + systemctl reboot + fi --- apiVersion: upgrade.cattle.io/v1 kind: Plan