trick the SO into thinking the public IP is local so that openidcprovider can reach...
[osm/devops.git] / 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
 
 }