Fixing permissions on specific use case and adding generic kernel

This commit is contained in:
Luis Guzmán 2020-12-15 18:57:15 -06:00
parent ddfd588fad
commit 19765ce321
2 changed files with 7 additions and 1 deletions

View File

@ -226,6 +226,7 @@ if [ "$HWE_VIR_MOD" == "1" ]; then
linux-modules-extra-virtual-hwe-$(lsb_release -sr) linux-modules-extra-virtual-hwe-$(lsb_release -sr)
else else
apt-get -y install \ apt-get -y install \
linux-image-generic \
linux-modules-extra-$(uname -r) linux-modules-extra-$(uname -r)
fi fi

View File

@ -274,6 +274,7 @@ if [ "$HWE_VIR_MOD" == "1" ]; then
linux-modules-extra-virtual-hwe-$(lsb_release -sr) linux-modules-extra-virtual-hwe-$(lsb_release -sr)
else else
apt-get -y install \ apt-get -y install \
linux-image-generic \
linux-modules-extra-$(uname -r) linux-modules-extra-$(uname -r)
fi fi
@ -502,7 +503,9 @@ done
# read -p "Secure room moderator password: "$'\n' -r SEC_ROOM_PASS # read -p "Secure room moderator password: "$'\n' -r SEC_ROOM_PASS
#fi #fi
#done #done
echo -e "\n> Jitsi Meet Auth Method selection.\n" echo "
> Jitsi Meet Auth Method selection.
"
PS3='Select the authentication method for your Jitsi Meet instance: ' PS3='Select the authentication method for your Jitsi Meet instance: '
options=("Local" "JWT" "None") options=("Local" "JWT" "None")
select opt in "${options[@]}" select opt in "${options[@]}"
@ -1041,6 +1044,8 @@ if [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then
systemctl disable jibri systemctl disable jibri
systemctl disable jibri-xorg systemctl disable jibri-xorg
systemctl disable jibri-icewm systemctl disable jibri-icewm
#Manually apply permissions since finalize_recording.sh won't be triggered on this server.
sudo -u jibri bash /home/jibri/finalize_recording.sh
fi fi
enable_letsencrypt enable_letsencrypt