trick the SO into thinking the public IP is local so that openidcprovider can reach the platform
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Change-Id: I3f686c5a53cb2f3c1a8870dffea8dbfd1d979686
diff --git a/installers/install_osm.sh b/installers/install_osm.sh
index 09e86be..896eaef 100755
--- a/installers/install_osm.sh
+++ b/installers/install_osm.sh
@@ -233,6 +233,13 @@
config
openidc-provider-config rw-ui-client redirect-uri https://$DEFAULT_IP:8443/callback post-logout-redirect-uri https://$DEFAULT_IP:8443/
EOF
+ lxc exec SO-ub -- tee /etc/network/interfaces.d/60-rift.cfg <<EOF
+auto lo:1
+iface lo:1 inet static
+ address $DEFAULT_IP
+ netmask 255.255.255.255
+EOF
+ lxc exec SO-ub ifup lo:1
}