set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM 10/5510/1
authorJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 3 Oct 2017 20:21:56 +0000 (16:21 -0400)
committerJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 3 Oct 2017 20:21:56 +0000 (16:21 -0400)
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
installers/install_osm.sh

index e475c3f..ec11557 100755 (executable)
@@ -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