Add -L parameter to curl for download ISO files 69/24769/1
authorJulien <zhang.jun3g@zte.com.cn>
Wed, 23 Nov 2016 14:21:20 +0000 (22:21 +0800)
committerJulien <zhang.jun3g@zte.com.cn>
Wed, 23 Nov 2016 14:30:50 +0000 (22:30 +0800)
commit4da12f732e8aa918719c2a8c30e7a78dc0b15428
tree28f471c2d4e1d5168fbb01c3cc98e64b3a1c68fc
parent0eec8a270dc3c416d6c93e14708c9cb5c3b53dce
Add -L parameter to curl for download ISO files

same as patch 24385, which just fixed the latest.properties file

curl:
   -L, --location
   (HTTP/HTTPS)  If the server reports that the requested page has moved
   to a different location (indicated with a Location: header and a 3XX
   response code), this option will make curl redo the request on  the
   new  place.

without -L, curl just download the redirects info not the file.

JIRA: FUEL-225

Change-Id: I20a01b628ca1545def68bd4e0b24594c24ee7f85
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
jjb/fuel/fuel-download-artifact.sh