From 4ecce3a7a5d8a8c1774d2e60ccad65b1dd7a0483 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 22 Dec 2013 09:11:46 +0100 Subject: Fix curl command to fetch the signature file. --- scripts/install/install-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/install-image b/scripts/install/install-image index 147706e7..3d668d21 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -102,7 +102,7 @@ fetch_iso_by_url () echo "ISO download succeeded." echo "Checking for digital signature file..." - curl "$client_hdr" "$vers_hdr" $auth -f -o ${filename}.asc ${NEW_ISO}.asc + curl -H "User-Agent: VyOS/$vyos_version" $auth -f -o ${filename}.asc ${NEW_ISO}.asc if [ $? -ne 0 ]; then echo "Unable to fetch digital signature file." echo -n "Do you want to continue without signature check? (yes/no) [yes] " -- cgit v1.2.3