From 14017f835b9ea7a5178e5852a5ec26ab2a8a4ee7 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Thu, 1 Sep 2022 11:33:08 +0200 Subject: [PATCH] feat(system-upgrade): Remove integrated reboot This patch removes the integrated reboot from the upgrade plan, and replaces it, by a reboot managed by kured. References: https://github.com/weaveworks/kured --- infrastructure/system-upgrades/fedora.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/infrastructure/system-upgrades/fedora.yaml b/infrastructure/system-upgrades/fedora.yaml index c2454f64e..6abf096e7 100644 --- a/infrastructure/system-upgrades/fedora.yaml +++ b/infrastructure/system-upgrades/fedora.yaml @@ -15,7 +15,7 @@ stringData: systemctl start --wait dnf-automatic-install.service systemctl enable clevis-luks-askpass.path if ! dnf needs-restarting --reboothint; then - systemctl reboot + touch /var/run/reboot-required fi --- apiVersion: upgrade.cattle.io/v1 @@ -40,10 +40,6 @@ spec: secrets: - name: fedora-dnf-upgrade path: /host/run/system-upgrade/secrets/fedora - drain: - deleteLocalData: true - ignoreDaemonSets: true - force: false channel: http://calver/weekly upgrade: image: registry.fedoraproject.org/fedora:35 -- GitLab