projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baaec06
)
set the RIFT_EXTERNAL_ADDRESS to the address of the parent container/VM
10/5510/1
author
Jeremy Mordkoff
<Jeremy.Mordkoff@riftio.com>
Tue, 3 Oct 2017 20:21:56 +0000
(16:21 -0400)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/installers/install_osm.sh
b/installers/install_osm.sh
index
e475c3f
..
ec11557
100755
(executable)
--- 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