From: garciadeblas Date: Thu, 10 May 2018 11:39:10 +0000 (+0200) Subject: install_osm: add missing host route to enable SO reach VCA X-Git-Tag: v4.0.0~14 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=818fa5ac056bb64d5dc26429820ea17a33674228;p=osm%2Fdevops.git install_osm: add missing host route to enable SO reach VCA Change-Id: Id5f0d356e962c413d862d94278e82774239e02b8 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index f79b9737..596beb05 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -312,7 +312,9 @@ function configure_SOUI(){ echo -e " Configuring SO" sudo route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP + sudo ip route add 10.44.127.0/24 via $VCA_CONTAINER_IP sudo sed -i "$ i route add -host $JUJU_CONTROLLER_IP gw $VCA_CONTAINER_IP" /etc/rc.local + sudo sed -i "$ i ip route add 10.44.127.0/24 via $VCA_CONTAINER_IP" /etc/rc.local # make journaling persistent lxc exec SO-ub -- mkdir -p /var/log/journal lxc exec SO-ub -- systemd-tmpfiles --create --prefix /var/log/journal