mirror of
https://github.com/rancher/os.git
synced 2025-09-19 17:38:30 +00:00
Drop suc-upgrade, now integrated into cOS toolkit
This commit is contained in:
@@ -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
|
|
Reference in New Issue
Block a user