From 057d6ae2255f8895baada8d00767ffa71c8615ac Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Tue, 13 Jan 2015 14:01:26 +0100 Subject: [PATCH] wget less verbose wget is too verbose in devstack logs [1] on image download. Changing the progress bar style to giga, in order to be less verbose. http://logs.openstack.org/73/146573/2/check/ check-tempest-dsvm-full-juno/41ba988/logs/devstacklog.txt.gz#_2015-01-13_11_34_15_330 Change-Id: Ic5304893f4c97c50e7a2f29ad5cd77dba3d5a9dd --- functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions b/functions index c7a3b9db1d..12be160e7d 100644 --- a/functions +++ b/functions @@ -42,7 +42,7 @@ function upload_image { if [[ $image_url != file* ]]; then # Downloads the image (uec ami+akistyle), then extracts it. if [[ ! -f $FILES/$image_fname || "$(stat -c "%s" $FILES/$image_fname)" = "0" ]]; then - wget -c $image_url -O $FILES/$image_fname + wget --progress=dot:giga -c $image_url -O $FILES/$image_fname if [[ $? -ne 0 ]]; then echo "Not found: $image_url" return @@ -116,7 +116,7 @@ function upload_image { if [[ $flat_url != file* ]]; then if [[ ! -f $FILES/$flat_fname || \ "$(stat -c "%s" $FILES/$flat_fname)" = "0" ]]; then - wget -c $flat_url -O $FILES/$flat_fname + wget --progress=dot:giga -c $flat_url -O $FILES/$flat_fname fi image="$FILES/${flat_fname}" else