From: Alexandru Avadanii Date: Sun, 11 Mar 2018 22:34:57 +0000 (+0100) Subject: ci/download_images.sh: Reduce wget dot reporting X-Git-Tag: opnfv-7.0.0~104 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F53479%2F2;p=functest.git ci/download_images.sh: Reduce wget dot reporting Downloading large images outputs a lot of useless dots to show progress. Switch to 1M per dot (from 1K). Change-Id: I00e3d09ef28e7722798eeadc27649a96398aac32 Signed-off-by: Alexandru Avadanii --- diff --git a/functest/ci/download_images.sh b/functest/ci/download_images.sh index b7626972e..b4abc532e 100644 --- a/functest/ci/download_images.sh +++ b/functest/ci/download_images.sh @@ -3,6 +3,7 @@ set -ex wget_opts="-N --tries=1 --connect-timeout=30" +[ -t 1 ] || wget_opts="${wget_opts} --progress=dot:giga" cat << EOF | wget ${wget_opts} -i - -P ${1:-/home/opnfv/functest/images} http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img