diff options
author | Victor Morales <victor.morales@intel.com> | 2017-12-18 09:56:13 -0800 |
---|---|---|
committer | Victor Morales <victor.morales@intel.com> | 2017-12-23 03:22:34 -0500 |
commit | fa9eb9c5c50ca147504cb97226007b82f6909b8a (patch) | |
tree | 5a1b962e79074f796c441e37612d6a9587d47460 /bootstrap/vagrant-onap/lib/_onap_functions | |
parent | f1ffdbc27f2cd05b487c7857362bf2018a513b21 (diff) |
Add OOM provisioning script
The instructions to provision a ONAP Operations Manager environment
was included into the vagrant-onap tool. This script requires a
specific docker version besides some tasks that wait for certain
services.
Change-Id: I39f0b7947e7c87d8aa44ffa93cdb414d700379bd
Signed-off-by: Victor Morales <victor.morales@intel.com>
Co-Authored-By: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Issue-ID: INT-370
Diffstat (limited to 'bootstrap/vagrant-onap/lib/_onap_functions')
-rwxr-xr-x | bootstrap/vagrant-onap/lib/_onap_functions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/vagrant-onap/lib/_onap_functions b/bootstrap/vagrant-onap/lib/_onap_functions index cedd6f0a3..960b298ef 100755 --- a/bootstrap/vagrant-onap/lib/_onap_functions +++ b/bootstrap/vagrant-onap/lib/_onap_functions @@ -15,7 +15,7 @@ function create_configuration_files { # docker_openecomp_login() - Login to OpenECOMP Docker Hub function docker_openecomp_login { install_docker - docker login -u $nexus_username -p $nexus_password $nexus_docker_repo + docker login -u ${nexus_username:-docker} -p ${nexus_password:-docker} ${nexus_docker_repo:-nexus3.onap.org:10001} } # pull_openecomp_image() - Pull Docker container image from a Docker Registry Hub @@ -23,7 +23,7 @@ function pull_openecomp_image { local image=$1 local tag=$2 docker_openecomp_login - pull_docker_image $nexus_docker_repo/openecomp/${image}:${docker_version-latest} $tag + pull_docker_image ${nexus_docker_repo:-nexus3.onap.org:10001}/openecomp/${image}:${docker_version-latest} $tag docker logout } @@ -32,7 +32,7 @@ function pull_onap_image { local image=$1 local tag=$2 docker_openecomp_login - pull_docker_image $nexus_docker_repo/onap/${image}:${docker_version-latest} $tag + pull_docker_image ${nexus_docker_repo:-nexus3.onap.org:10001}/onap/${image}:${docker_version-latest} $tag docker logout } |