From 016dad0d7c293f9c463e6596bdb7384845beda3a Mon Sep 17 00:00:00 2001 From: Victor Morales Date: Wed, 23 Aug 2017 13:28:19 -0500 Subject: 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 --- bootstrap/vagrant-onap/lib/portal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bootstrap/vagrant-onap') 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 } -- cgit 1.2.3-korg