#module setup mrepo=https://git.ictmaatwerk.com/VPS-scripts/MeetServer mbranch=main/JMS #setup repo curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=jitsi osrel=$shortdist bash > $OUTPUT 2>&1 #preconf jitsi debconf-set-selections <<< "jitsi-videobridge2 jitsi-videobridge/jvb-hostname string $domain" debconf-set-selections <<< "jitsi-meet-web-config jitsi-meet/cert-choice select Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)" # Package list for Scalable if [ "$jitsipack" = "sc" ] ; then jvbsec=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 16) debconf-set-selections <<< "jitsi-meet-prosody jitsi-videobridge/jvbsecret password $jvbsec" echo " jitsi-meet-web jitsi-meet-web-config jitsi-meet-prosody jicofo jitsi-meet-turnserver prosody" >> /tmp/pkg.list fi # Package list for standalone if [ "$jitsipack" = "sa" ] ; then echo " jitsi-meet jitsi-meet-turnserver " >> /tmp/pkg.list fi # Packge list to allow for external connections if [ "$extcon" = "1" ] ; then echo " dnsmasq" >> /tmp/pkg.list fi