forked from switnet/quick-jibri-installer
Merge branch 'master' into unstable
This commit is contained in:
commit
dada2cda88
|
@ -189,6 +189,7 @@ else
|
||||||
fi
|
fi
|
||||||
#Prosody repository
|
#Prosody repository
|
||||||
add_prosody_repo
|
add_prosody_repo
|
||||||
|
|
||||||
# Jitsi-Meet Repo
|
# Jitsi-Meet Repo
|
||||||
echo "
|
echo "
|
||||||
Add Jitsi repo
|
Add Jitsi repo
|
||||||
|
@ -341,6 +342,7 @@ ENABLE_SA="yes"
|
||||||
CERTBOT_REPO=$(apt-cache policy | grep http | grep certbot | head -n 1 | awk '{print $2}' | cut -d "/" -f4)
|
CERTBOT_REPO=$(apt-cache policy | grep http | grep certbot | head -n 1 | awk '{print $2}' | cut -d "/" -f4)
|
||||||
CERTBOT_REL_FILE="http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/$(lsb_release -sc)/Release"
|
CERTBOT_REL_FILE="http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/$(lsb_release -sc)/Release"
|
||||||
GC_SDK_REL_FILE="http://packages.cloud.google.com/apt/dists/cloud-sdk-$(lsb_release -sc)/Release"
|
GC_SDK_REL_FILE="http://packages.cloud.google.com/apt/dists/cloud-sdk-$(lsb_release -sc)/Release"
|
||||||
|
|
||||||
#Sysadmin email
|
#Sysadmin email
|
||||||
while [[ -z $SYSADMIN_EMAIL ]]
|
while [[ -z $SYSADMIN_EMAIL ]]
|
||||||
do
|
do
|
||||||
|
@ -492,6 +494,17 @@ elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
|
||||||
echo "-- Grafana Dashboard will be enabled."
|
echo "-- Grafana Dashboard will be enabled."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
#Grafana
|
||||||
|
while [[ "$ENABLE_GRAFANA_DSH" != "yes" && "$ENABLE_GRAFANA_DSH" != "no" ]]
|
||||||
|
do
|
||||||
|
read -p "> Do you want to setup Grafana Dashboard: (yes or no)
|
||||||
|
( Please check requirements at: https://github.com/switnet-ltd/quick-jibri-installer )"$'\n' -r ENABLE_GRAFANA_DSH
|
||||||
|
if [ "$ENABLE_GRAFANA_DSH" = "no" ]; then
|
||||||
|
echo "Grafana Dashboard won't be enabled."
|
||||||
|
elif [ "$ENABLE_GRAFANA_DSH" = "yes" ]; then
|
||||||
|
echo "Grafana Dashboard will be enabled."
|
||||||
|
fi
|
||||||
|
done
|
||||||
#Start configuration
|
#Start configuration
|
||||||
echo '
|
echo '
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
Loading…
Reference in New Issue