Updated bbb-conf to assign hostname to publishURI parameter in config.xml

This commit is contained in:
Fred Dixon 2015-08-07 15:56:35 -04:00
parent 7d571de04b
commit b23a6df190

View File

@ -1462,6 +1462,8 @@ if [ -n "$HOST" ]; then
echo "Assigning $HOST for http:// in /var/www/bigbluebutton/client/conf/config.xml"
sudo sed -i "s/http:\/\/\([^\"\/]*\)\([\"\/]\)/http:\/\/$HOST\2/g" /var/www/bigbluebutton/client/conf/config.xml
echo "Assigning $HOST for publishURI in /var/www/bigbluebutton/client/conf/config.xml"
sudo sed -i "s/publishURI=\"[^\"]*\"/publishURI=\"$HOST\"/" /var/www/bigbluebutton/client/conf/config.xml
#
# Update configuration for BigBlueButton web app