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

fix(system-upgrades): Don't fail if module is already disabled

parent 4c67413f
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ stringData:
cp "$secrets/crio-pid_limits.conf" "/etc/crio/crio.conf.d/pid_limits.conf"
touch /var/run/reboot-required
fi
systemd-run --same-dir --wait --collect --service-type=exec dnf module disable cri-o -y
systemd-run --same-dir --wait --collect --service-type=exec dnf module disable cri-o -y || exit 0
systemd-run --same-dir --wait --collect --service-type=exec dnf upgrade -y cri-o
upgrade-kubernetes.sh: |
#!/bin/bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment