1
0
mirror of https://github.com/rancher/os.git synced 2025-09-18 16:27:31 +00:00

Drop suc-upgrade, now integrated into cOS toolkit

This commit is contained in:
Ettore Di Giacinto
2021-07-05 09:32:16 +02:00
parent 6bd9f58d62
commit 85831aa716

View File

@@ -1,15 +0,0 @@
#!/bin/bash
set -x -e
if [ "$FORCE" != "true" ]; then
if diff /etc/os-release /host/etc/os-release >/dev/null; then
echo Update to date with
cat /etc/os-release
exit 0
fi
fi
mount --rbind /host/dev /dev
mount --rbind /host/run /run
bash -x cos-upgrade --directory /
nsenter -i -m -t 1 -- reboot
exit 1