install_osm: add missing host route to enable SO reach VCA 17/6117/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 10 May 2018 11:39:10 +0000 (13:39 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 10 May 2018 14:28:43 +0000 (15:28 +0100)
Change-Id: Id5f0d356e962c413d862d94278e82774239e02b8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh

index f79b973..596beb0 100755 (executable)
@@ -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