From: Jeremy Mordkoff Date: Tue, 3 Oct 2017 20:21:56 +0000 (-0400) Subject: set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM X-Git-Tag: v3.0.0rc4~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F5510%2F1;p=osm%2Fdevops.git set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM Signed-off-by: Jeremy Mordkoff --- diff --git a/installers/install_osm.sh b/installers/install_osm.sh index e475c3fd..ec115577 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -188,6 +188,8 @@ function configure(){ echo -e " Configuring SO" sudo route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP sudo sed -i "$ i route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP" /etc/rc.local + echo RIFT_EXTERNAL_ADDRESS=$DEFAULT_IP | lxc exec SO-ub -- tee -a /usr/rift/etc/default/launchpad + lxc exec SO-ub -- systemctl restart launchpad so_is_up $SO_CONTAINER_IP