trick the SO into thinking the public IP is local so that openidcprovider can reach... 19/5519/2 v3.0.0rc5
authorJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Wed, 4 Oct 2017 16:05:41 +0000 (12:05 -0400)
committerJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Wed, 4 Oct 2017 16:16:57 +0000 (12:16 -0400)
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Change-Id: I3f686c5a53cb2f3c1a8870dffea8dbfd1d979686

installers/install_osm.sh

index 09e86be..896eaef 100755 (executable)
@@ -233,6 +233,13 @@ function configure(){
 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
 
 }