[arista]: Fix web package md5 hash not correct issue (#6411)
Need to add the follow redirection option -L when downloading the package with redirection.
This commit is contained in:
parent
3dd993e019
commit
4ef3f1376f
@ -41,7 +41,7 @@ check_version_control()
|
||||
get_url_version()
|
||||
{
|
||||
local package_url=$1
|
||||
/usr/bin/curl -ks $package_url | md5sum | cut -d' ' -f1
|
||||
/usr/bin/curl -Lks $package_url | md5sum | cut -d' ' -f1
|
||||
}
|
||||
|
||||
check_if_url_exist()
|
||||
|
Loading…
Reference in New Issue
Block a user