From 9cb2a45380181798b2addaa7010fac3e656501af Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 19 Aug 2020 18:44:39 +0200 Subject: [PATCH] no need for a seperate script in the Gen10 server --- nextcloud_install_production.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 068383cc..170a6b0f 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -160,11 +160,14 @@ install_if_not netplan.io # Install build-essentials to get make install_if_not build-essential -# Just check if the function works and run disk setup +# Test Home/SME function if home_sme_server then - run_script DISK format-sda-nuc-server + 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. @@ -195,7 +198,6 @@ case "$choice" in *) ;; esac -fi # Set DNS resolver # https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f