From 3b3edeabc440a596c05ba6e10cdca2bf074c3a86 Mon Sep 17 00:00:00 2001 From: Jeremy Mordkoff Date: Tue, 3 Oct 2017 16:21:56 -0400 Subject: [PATCH] set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM Signed-off-by: Jeremy Mordkoff --- installers/install_osm.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1