This commit is contained in:
wh1te909 2020-08-13 02:35:14 +00:00
parent 84d17e306f
commit ae96dba2aa
1 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,9 @@ echo -ne "${YELLOW}Enter the subdomain for meshcentral (e.g. mesh.example.com)${
read meshdomain read meshdomain
done 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}: " echo -ne "${YELLOW}Create a username for meshcentral${NC}: "
read meshusername read meshusername
@ -63,8 +66,6 @@ echo -ne "${YELLOW}Enter a valid email address for let's encrypt renewal notific
read letsemail read letsemail
done done
rootdomain=$(expr match "$rmmdomain" '.*\.\(.*\..*\)')
print_green 'Getting wildcard cert' print_green 'Getting wildcard cert'
sudo apt install -y software-properties-common sudo apt install -y software-properties-common