mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-12-03 11:49:12 +01:00
Added md5 verification
This commit is contained in:
parent
42e9b6bd7f
commit
ca6951d1fe
@ -173,7 +173,7 @@ case "$operation_system" in
|
||||
esac
|
||||
|
||||
if [ -z "$image_checksum" ]; then
|
||||
for ext in sha1 sha512; do
|
||||
for ext in sha1 sha512 md5; do
|
||||
sha_download_url="$download_url.$ext"
|
||||
info "Image Checksum is not defined. Try to download image signature from $sha_download_url."
|
||||
if wget -q --method=HEAD "$sha_download_url"; then
|
||||
|
Loading…
Reference in New Issue
Block a user