diff --git a/install.sh b/install.sh index 71726a9e..eb440d41 100755 --- a/install.sh +++ b/install.sh @@ -54,6 +54,9 @@ echo -ne "${YELLOW}Enter the subdomain for meshcentral (e.g. mesh.example.com)${ read meshdomain done +echo -ne "${YELLOW}Enter the root domain for LetsEncrypt (e.g. example.com or example.co.uk)${NC}: " +read rootdomain + echo -ne "${YELLOW}Create a username for meshcentral${NC}: " read meshusername @@ -63,8 +66,6 @@ echo -ne "${YELLOW}Enter a valid email address for let's encrypt renewal notific read letsemail done -rootdomain=$(expr match "$rmmdomain" '.*\.\(.*\..*\)') - print_green 'Getting wildcard cert' sudo apt install -y software-properties-common