diff options
author | Daniil Baturin <daniil@baturin.org> | 2013-12-22 09:11:46 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2013-12-22 09:11:46 +0100 |
commit | 4ecce3a7a5d8a8c1774d2e60ccad65b1dd7a0483 (patch) | |
tree | c11079c6b602133b58e19a0c0ea13dbc31d287ce /scripts/install | |
parent | 2a90fdd264d7301cdca34d2c15ea158675b1e157 (diff) | |
download | vyatta-cfg-system-4ecce3a7a5d8a8c1774d2e60ccad65b1dd7a0483.tar.gz vyatta-cfg-system-4ecce3a7a5d8a8c1774d2e60ccad65b1dd7a0483.zip |
Fix curl command to fetch the signature file.
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-image | 2 |
1 files changed, 1 insertions, 1 deletions
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] " |