Skip to content
Snippets Groups Projects
Commit 3b3edeab authored by Jeremy Mordkoff's avatar Jeremy Mordkoff
Browse files

set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM


Signed-off-by: default avatarJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
parent baaec069
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment