Update 'Main-Installer.sh'
This commit is contained in:
@@ -43,6 +43,17 @@ do
|
|||||||
esac
|
esac
|
||||||
done
|
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
|
while true; do
|
||||||
read -p "Installeer Netdata -> yes/no?" yn
|
read -p "Installeer Netdata -> yes/no?" yn
|
||||||
case $yn in
|
case $yn in
|
||||||
@@ -173,6 +184,16 @@ log_error = /var/log/mysql/error.log
|
|||||||
expire_logs_days = 10
|
expire_logs_days = 10
|
||||||
max_binlog_size = 100M
|
max_binlog_size = 100M
|
||||||
EOF
|
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!"
|
echo "Installatie geslaagd!"
|
||||||
|
|
||||||
##------------##
|
##------------##
|
||||||
|
|||||||
Reference in New Issue
Block a user