Set SO cloud owner in init script
[demo.git] / boot / so_vm_init.sh
index c688601..58ee992 100644 (file)
@@ -8,6 +8,7 @@ OPENSTACK_USERNAME=$(cat /opt/config/openstack_username.txt)
 OPENSTACK_APIKEY=$(cat /opt/config/api_key.txt)
 export MSO_DOCKER_IMAGE_VERSION=$(cat /opt/config/docker_version.txt)
 export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+export OPENO_IP=$(cat /opt/config/openo_ip.txt)
 
 # Deployments in OpenStack require a keystone file
 if [ -e /opt/config/keystone.txt ]
@@ -87,7 +88,10 @@ read -d '' MSO_CONFIG_UPDATES <<-EOF
                        
                    }
                ]
-         }
+       },
+       "mso-bpmn-urn-config": {
+               "msoDefaultCloudOwnerId": "CloudOwner"
+       }
   }
 }
 EOF