From cabfeb58cff67543cd9bc742d905842da2c0eb8e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 28 Sep 2023 15:58:56 +0200 Subject: [SSUS] Add warning if OS is 32bit --- satellit_upgrader/updater.template.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'satellit_upgrader') diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 5cd45b6..d325f04 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -42,13 +42,23 @@ fi delay= readonly MAJOR CODENAME + +if [[ "$(uname -m)" == i?86 ]]; then + echo "Please note: This bwLehrpool server is still running on a 32 Bit OS install." + echo "This release will be the last one with 32 Bit support. Please consider backing" + echo "up your configuration and setting up a fresh server with the latest" + echo "bwLehrpool server image." + echo "" + delay=1 +fi + if (( MAJOR < 9 )); then echo "This Version of the bwLehrpool Satellite Server is too old!" echo "Back up your existing configuration via slx-admin and import it into a" echo "fresh install, or manually dist-upgrade this server." exit 1 fi -if (( MAJOR > 11 )); then +if (( MAJOR > 12 )); then echo "This Version of the bwLehrpool Satellite Server is too new!" exit 1 fi -- cgit v1.2.3-55-g7522