aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-23 19:34:11 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-23 19:34:11 +0000
commit9fa47a20fb50c61aa594995f87a9e32cc44d6864 (patch)
tree364e3c48b4a88e5e142515aea5ce7d39c48bcfe3 /bootstrap/vagrant-onap
parenta6d347c6ba0d7784d50690db249870cbd79d9c0c (diff)
parent016dad0d7c293f9c463e6596bdb7384845beda3a (diff)
Merge "Use the pull_docker_image function"
Diffstat (limited to 'bootstrap/vagrant-onap')
-rwxr-xr-xbootstrap/vagrant-onap/lib/portal3
1 files changed, 1 insertions, 2 deletions
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
}