Browse code

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

Attila Fazekas authored on 2015/01/13 22:01:26
Showing 1 changed files
... ...
@@ -42,7 +42,7 @@ function upload_image {
42 42
     if [[ $image_url != file* ]]; then
43 43
         # Downloads the image (uec ami+akistyle), then extracts it.
44 44
         if [[ ! -f $FILES/$image_fname || "$(stat -c "%s" $FILES/$image_fname)" = "0" ]]; then
45
-            wget -c $image_url -O $FILES/$image_fname
45
+            wget --progress=dot:giga -c $image_url -O $FILES/$image_fname
46 46
             if [[ $? -ne 0 ]]; then
47 47
                 echo "Not found: $image_url"
48 48
                 return
... ...
@@ -116,7 +116,7 @@ function upload_image {
116 116
             if [[ $flat_url != file* ]]; then
117 117
                 if [[ ! -f $FILES/$flat_fname || \
118 118
                 "$(stat -c "%s" $FILES/$flat_fname)" = "0" ]]; then
119
-                    wget -c $flat_url -O $FILES/$flat_fname
119
+                    wget --progress=dot:giga -c $flat_url -O $FILES/$flat_fname
120 120
                 fi
121 121
                 image="$FILES/${flat_fname}"
122 122
             else