aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/_onap_functions
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-12 19:38:19 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-12 19:38:19 +0000
commit6f594abfe457571b6e96100ff5144549367f9677 (patch)
treebbe40a6277ee456b7b41eb28d498d1c6e6c56183 /bootstrap/vagrant-onap/lib/_onap_functions
parent0f33e96f0a4186263a4ef1acb9292878e9636ca7 (diff)
parent896c80752ee8d5e4e9439146bba12606246aaf53 (diff)
Merge "Add CCSDK support"
Diffstat (limited to 'bootstrap/vagrant-onap/lib/_onap_functions')
-rwxr-xr-xbootstrap/vagrant-onap/lib/_onap_functions9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap/vagrant-onap/lib/_onap_functions b/bootstrap/vagrant-onap/lib/_onap_functions
index 9e06010ed..18a465948 100755
--- a/bootstrap/vagrant-onap/lib/_onap_functions
+++ b/bootstrap/vagrant-onap/lib/_onap_functions
@@ -28,6 +28,15 @@ function pull_openecomp_image {
docker logout
}
+# pull_onap_image() - Pull Docker container image from a Docker Registry Hub
+function pull_onap_image {
+ local image=$1
+ local tag=$2
+ docker_openecomp_login
+ pull_docker_image $nexus_docker_repo/onap/${image}:$docker_version $tag
+ docker logout
+}
+
# configure_bind()- Configure bind utils
function configure_bind {
_install_bind