aboutsummaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-05-10 09:50:39 -0500
committerVictor Morales <victor.morales@intel.com>2017-05-10 09:59:55 -0500
commit62e3159bb6e3f90e2ad53b8da39a7ea34c819b4f (patch)
treefff8d4bac9658e436ece251946a48d2c0e8f97cd /boot
parentde5a8c9e26b5cc0d0d842b4d5c2d362a83080820 (diff)
Ensure MariaDB image is present
The vid_vm_init.sh script creates two containers. The vid-mariadb container requires that a MariaDB Docker image is present. This change guarantee the presence of that image. Change-Id: Ibb71b576f302618d7e483346a5e214d844cfc501 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/vid_vm_init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/vid_vm_init.sh b/boot/vid_vm_init.sh
index dc656109..3d6e359f 100644
--- a/boot/vid_vm_init.sh
+++ b/boot/vid_vm_init.sh
@@ -11,6 +11,7 @@ cd /opt
docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO
docker pull $NEXUS_DOCKER_REPO/openecomp/vid:$DOCKER_IMAGE_VERSION
+docker pull $NEXUS_DOCKER_REPO/library/mariadb:10
docker rm -f vid-mariadb
docker rm -f vid-server