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