Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-08-19 19:53:46 +0300
committerGitHub <noreply@github.com>2020-08-19 19:53:46 +0300
commiteb8db6da73425e8061abc8419f35097022ec5430 (patch)
tree74ca0a493b27978945fc731f2465846cd76c9cad /nextcloud_install_production.sh
parent9cb2a45380181798b2addaa7010fac3e656501af (diff)
test earlier
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r--nextcloud_install_production.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh
index 170a6b0f..04951dd4 100644
--- a/nextcloud_install_production.sh
+++ b/nextcloud_install_production.sh
@@ -95,6 +95,15 @@ msg_box "Nextcloud repo is not available, exiting..."
exit 1
fi
+# Test Home/SME function
+if home_sme_server
+then
+ msg_box "This is the Home/SME server, function works!"
+else
+ msg_box "Home/SME Server not detected. No worries, just testing the function."
+ sleep 1
+fi
+
# Fix LVM on BASE image
if grep -q "LVM" /etc/fstab
then
@@ -160,14 +169,6 @@ install_if_not netplan.io
# Install build-essentials to get make
install_if_not build-essential
-# Test Home/SME function
-if home_sme_server
-then
- msg_box "This is the Home/SME server, function works!"
-else
- print_text_in_color "ICyan" "Home/SME Server not detected. No worries, just testing the function."
-fi
-
# Set dual or single drive setup
msg_box "This VM is designed to run with two disks, one for OS and one for DATA. This will get you the best performance since the second disk is using ZFS which is a superior filesystem.
You could still choose to only run on one disk though, which is not recommended, but maybe your only option depending on which hypervisor you are running.