fix: Update ONM IP hardcoded value with
Change-Id: I4665b486922ef046d9aed8078bd98dab3b7054e8
This commit is contained in:
parent
d829c9ce65
commit
3e87730287
@ -3,7 +3,7 @@ echo "Master pre-install script\n"
|
||||
|
||||
sudo hostnamectl set-hostname "$variables_PA_JOB_NAME"
|
||||
sudo -H -u ubuntu bash -c 'wget https://opendev.org/nebulous/sal-scripts/raw/branch/master/onm/nm-bootstrap-script.sh && chmod +x nm-bootstrap-script.sh'
|
||||
sudo -H -u ubuntu bash -c "./nm-bootstrap-script.sh 'CREATE' 'MASTER' $APPLICATION_ID 158.39.201.249 $PUBLIC_IP $SSH_PORT";
|
||||
sudo -H -u ubuntu bash -c "./nm-bootstrap-script.sh 'CREATE' 'MASTER' $APPLICATION_ID $ONM_IP $PUBLIC_IP $SSH_PORT";
|
||||
echo ""
|
||||
echo ""
|
||||
sleep 60
|
||||
|
@ -2,7 +2,7 @@
|
||||
echo "Worker pre-install script"
|
||||
sudo hostnamectl set-hostname "$variables_PA_JOB_NAME"
|
||||
sudo -H -u ubuntu bash -c 'wget https://opendev.org/nebulous/sal-scripts/raw/branch/master/onm/nm-bootstrap-script.sh && chmod +x nm-bootstrap-script.sh'
|
||||
sudo -H -u ubuntu bash -c "./nm-bootstrap-script.sh 'CREATE' 'WORKER' $APPLICATION_ID 158.39.201.249 $PUBLIC_IP $SSH_PORT";
|
||||
sudo -H -u ubuntu bash -c "./nm-bootstrap-script.sh 'CREATE' 'WORKER' $APPLICATION_ID $ONM_IP $PUBLIC_IP $SSH_PORT";
|
||||
|
||||
WIREGUARD_VPN_IP=`ip a | grep wg | grep inet | awk '{print $2}' | cut -d'/' -f1`;
|
||||
echo "WIREGUARD_VPN_IP= $WIREGUARD_VPN_IP";
|
||||
|
Loading…
Reference in New Issue
Block a user