Update 'installer.sh'
This commit is contained in:
20
installer.sh
20
installer.sh
@@ -15,9 +15,23 @@
|
||||
echo "Ubuntu 18.04 installatie script."
|
||||
echo "Domein zonder www:"
|
||||
read domain
|
||||
echo 'Hostname (eg: VCH001) zonder ".ictmaatwerk-cs.nl":'
|
||||
read hostname
|
||||
hostname=$hostname".ictmaatwerk-cs.nl"
|
||||
|
||||
while true; do
|
||||
read -p "Hostname with ictmaatwerk-cs.nl -> yes/no?" yn
|
||||
case $yn in
|
||||
[Nn]* )
|
||||
echo 'Enter full hostname:'
|
||||
read hostname
|
||||
break;;
|
||||
[Yy]* )
|
||||
echo 'Hostname (eg: VCH001) zonder ".ictmaatwerk-cs.nl":'
|
||||
read hostname
|
||||
hostname=$hostname".ictmaatwerk-cs.nl"
|
||||
break;;
|
||||
* )echo "Choose yes or no.";;
|
||||
esac
|
||||
done
|
||||
|
||||
while true; do
|
||||
read -p "bestaat www.${domain} in DNS -> yes/no?" yn
|
||||
case $yn in
|
||||
|
||||
Reference in New Issue
Block a user