set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
diff --git a/installers/install_osm.sh b/installers/install_osm.sh
index e475c3f..ec11557 100755
--- a/installers/install_osm.sh
+++ b/installers/install_osm.sh
@@ -188,6 +188,8 @@
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