update the RIFT web to accept the public IP 11/5511/3 v3.0.0rc4
authorJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 3 Oct 2017 21:34:10 +0000 (17:34 -0400)
committerJeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Tue, 3 Oct 2017 23:27:44 +0000 (19:27 -0400)
Signed-off-by: Jeremy Mordkoff <Jeremy.Mordkoff@riftio.com>
Change-Id: Ib0517677e938f65d4faa07d30d18d190373b909b

installers/install_osm.sh

index ec11557..09e86be 100755 (executable)
@@ -228,6 +228,12 @@ function configure(){
       --header 'content-type: application/vnd.yang.data+json' \
       --data '{"rw-ro-account:account": [ { "openmano": { "host": "'$RO_CONTAINER_IP'", "port": "9090", "tenant-id": "'$RO_TENANT_ID'"}, "name": "osmopenmano", "ro-account-type": "openmano" }]}')
     [[ $result =~ .*success.* ]] || FATAL "Failed resource-orchestrator configuration: $result"
+
+    lxc exec SO-ub -- /usr/rift/rift-shell -- rwcli --username admin --passwd admin  <<EOF
+config 
+openidc-provider-config rw-ui-client redirect-uri https://$DEFAULT_IP:8443/callback post-logout-redirect-uri https://$DEFAULT_IP:8443/
+EOF
+
 }
 
 function install_lxd() {