no need for a seperate script in the Gen10 server

This commit is contained in:
Daniel Hansson 2020-08-19 18:44:39 +02:00 committed by GitHub
parent 3b13b23727
commit 9cb2a45380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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