From: Victor Morales Date: Wed, 23 Aug 2017 18:28:19 +0000 (-0500) Subject: Use the pull_docker_image function X-Git-Tag: 1.0.0-Amsterdam~403^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F8469%2F1;p=integration.git Use the pull_docker_image function The portal script was calling docker CLI to retrieve a mariadb docker image that is hosted in the public hub. This change uses the pull_docker_image functioUse the pull_docker_image function Change-Id: Ie9f40fc019bda3655075b09d46360cdade8df949 Signed-off-by: Victor Morales Issue-Id: INT-21 --- diff --git a/bootstrap/vagrant-onap/lib/portal b/bootstrap/vagrant-onap/lib/portal index 8bd39b7e9..44cedb20d 100755 --- a/bootstrap/vagrant-onap/lib/portal +++ b/bootstrap/vagrant-onap/lib/portal @@ -7,8 +7,7 @@ source /var/onap/asserts # install_mariadb() - Pull and create a MariaDB container function install_mariadb { - is_package_installed docker-ce || install_docker - docker pull mariadb + pull_docker_image mariadb docker create --name data_vol_portal -v /var/lib/mysql mariadb }