From 205f8ee4f66f6f5861051a223f702b75d7f44de2 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 16 Jan 2022 03:01:32 +0100 Subject: [PATCH] feat(system-upgrades): Add automatic reboots for Fedora --- infrastructure/system-upgrades/fedora.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/system-upgrades/fedora.yaml b/infrastructure/system-upgrades/fedora.yaml index 08b09d5ba..594d3bae6 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 -- GitLab