Update 'Main-Installer.sh'

This commit is contained in:
tbergervoet
2018-10-05 12:03:42 +02:00
parent 631a475622
commit 0000f8592a

View File

@@ -43,6 +43,17 @@ do
esac
done
while true; do
read -p "Installeer Cockpit -> yes/no?" yn
case $yn in
[Yy]* ) cockpit=1
break;;
[Nn]* ) cockpit=0
break;;
* ) echo "Kies yes of no.";;
esac
done
while true; do
read -p "Installeer Netdata -> yes/no?" yn
case $yn in
@@ -173,6 +184,16 @@ log_error = /var/log/mysql/error.log
expire_logs_days = 10
max_binlog_size = 100M
EOF
##-------------##
# Cockpit #
##-------------##
if [ $cockpit = 1 ]; then
wget https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Cockpit/raw/branch/master/Slave-installer.sh -O Slave-Installer.sh
source Slave-Installer.sh
fi
echo "Installatie geslaagd!"
##------------##