From 94dcec9df154cce4ecee963ff16a4ed4695daf7d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 4 Mar 2021 12:07:35 -0800 Subject: [PATCH] while...do --- scripts/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installer.sh b/scripts/installer.sh index 3ad63e118..67e32bd25 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -103,11 +103,11 @@ images=$(node -e "var i = require('${box_src_tmp_dir}/src/infra_version.js'); co log "\tPulling docker images: ${images}" for image in ${images}; do - while ! docker pull "${image}"; then # this pulls the image using the sha256 + while ! docker pull "${image}"; do # this pulls the image using the sha256 log "Could not pull ${image}" sleep 5 done - while ! docker pull "${image%@sha256:*}"; then # this will tag the image for readability + while ! docker pull "${image%@sha256:*}"; do # this will tag the image for readability log "Could not pull ${image%@sha256:*}" sleep 5 done