From 1513655bc47dcd5cb5bb6a5e83b9d72454e6209a Mon Sep 17 00:00:00 2001 From: David Duque Date: Sun, 17 May 2020 02:45:35 +0100 Subject: [PATCH] Make sure that the OS in the admin panel matches the actual system OS --- management/templates/index.html | 4 ++-- setup/preflight.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/management/templates/index.html b/management/templates/index.html index 1bbd0378..d88eb569 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -180,8 +180,8 @@
diff --git a/setup/preflight.sh b/setup/preflight.sh index 51952693..6a3101d1 100644 --- a/setup/preflight.sh +++ b/setup/preflight.sh @@ -18,6 +18,8 @@ if [ "$OS" != "Debian GNU/Linux 10 (buster)" -a "$OS" != "Ubuntu 20.04 LTS" ]; t exit 1 fi +sed -i "s/__OSTAG__/$OS/g" management/templates/index.html + # Check that we have enough memory. # # /proc/meminfo reports free memory in kibibytes. Our baseline will be 512 MB,