Actually write sed changes
This commit is contained in:
parent
0f39230327
commit
7ed92d783b
|
@ -99,9 +99,9 @@ check_var JB_NAME "$JB_NAME"
|
||||||
check_var JB_AUTH_PASS "$JB_AUTH_PASS"
|
check_var JB_AUTH_PASS "$JB_AUTH_PASS"
|
||||||
check_var JB_REC_PASS "$JB_REC_PASS"
|
check_var JB_REC_PASS "$JB_REC_PASS"
|
||||||
|
|
||||||
#Rename hostname for each jibri node
|
# Rename hostname for each jibri node
|
||||||
hostnamectl set-hostname "jbnode${ADDUP}.${MAIN_SRV_DOMAIN}"
|
hostnamectl set-hostname "jbnode${ADDUP}.${MAIN_SRV_DOMAIN}"
|
||||||
sed "1i ${PUBLIC_IP} jbnode${ADDUP}.${MAIN_SRV_DOMAIN}" /etc/hosts
|
sed -i "1i ${PUBLIC_IP} jbnode${ADDUP}.${MAIN_SRV_DOMAIN}" /etc/hosts
|
||||||
|
|
||||||
# Jitsi-Meet Repo
|
# Jitsi-Meet Repo
|
||||||
echo "Add Jitsi repo"
|
echo "Add Jitsi repo"
|
||||||
|
|
|
@ -349,6 +349,10 @@ CERTBOT_REPO=$(apt-cache policy | grep http | grep certbot | head -n 1 | awk '{p
|
||||||
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"
|
||||||
|
|
||||||
|
# Rename hostname for jitsi server
|
||||||
|
#hostnamectl set-hostname "jibri.${DOMAIN}"
|
||||||
|
#sed -i "1i ${PUBLIC_IP} jibri.${DOMAIN}" /etc/hosts
|
||||||
|
|
||||||
#Sysadmin email
|
#Sysadmin email
|
||||||
while [[ -z $SYSADMIN_EMAIL ]]
|
while [[ -z $SYSADMIN_EMAIL ]]
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue