Update 'installer.sh'

This commit is contained in:
bprieshof
2019-04-12 09:58:08 +02:00
parent 9f72e5eee5
commit d9557172b4

View File

@@ -16,6 +16,17 @@ echo "Ubuntu 18.04 installatie script."
echo "Domein zonder www:"
read domain
while true; do
read -p "bestaat www.${domain} in DNS -> yes/no?" yn
case $yn in
[Yy]* ) domainwww=1
break;;
[Nn]* ) domainwww=0
break;;
* ) echo "Kies yes of no.";;
esac
done
while true; do
read -p "Hostname with ictmaatwerk-cs.nl -> yes/no?" yn
case $yn in
@@ -32,16 +43,6 @@ while true; do
esac
done
while true; do
read -p "bestaat www.${domain} in DNS -> yes/no?" yn
case $yn in
[Yy]* ) domainwww=1
break;;
[Nn]* ) domainwww=0
break;;
* ) echo "Kies yes of no.";;
esac
done
echo "Algemeen wachtwoord:"
read password
echo "Administrator email:"