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

feat(system-upgrades): Add automatic reboots for Fedora

parent 0a68e4d6
Branches
Tags
No related merge requests found
...@@ -10,7 +10,11 @@ stringData: ...@@ -10,7 +10,11 @@ stringData:
#!/bin/sh #!/bin/sh
set -e set -e
set -x set -x
dnf install -y dnf-utils
dnf upgrade -y --best dnf upgrade -y --best
if needs-restarting; then
systemctl reboot
fi
--- ---
apiVersion: upgrade.cattle.io/v1 apiVersion: upgrade.cattle.io/v1
kind: Plan kind: Plan
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment