[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
8003e11b53
commit
fbc6190c0c
@ -46,7 +46,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()
|
||||
|
Reference in New Issue
Block a user