Skip to content
Snippets Groups Projects
Verified Commit 14017f83 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

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
parent bd8201c1
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ stringData: ...@@ -15,7 +15,7 @@ stringData:
systemctl start --wait dnf-automatic-install.service systemctl start --wait dnf-automatic-install.service
systemctl enable clevis-luks-askpass.path systemctl enable clevis-luks-askpass.path
if ! dnf needs-restarting --reboothint; then if ! dnf needs-restarting --reboothint; then
systemctl reboot touch /var/run/reboot-required
fi fi
--- ---
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
...@@ -40,10 +40,6 @@ spec: ...@@ -40,10 +40,6 @@ spec:
secrets: secrets:
- name: fedora-dnf-upgrade - name: fedora-dnf-upgrade
path: /host/run/system-upgrade/secrets/fedora path: /host/run/system-upgrade/secrets/fedora
drain:
deleteLocalData: true
ignoreDaemonSets: true
force: false
channel: http://calver/weekly channel: http://calver/weekly
upgrade: upgrade:
image: registry.fedoraproject.org/fedora:35 image: registry.fedoraproject.org/fedora:35
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment