diff options
Diffstat (limited to 'scripts/install')
-rwxr-xr-x | scripts/install/install-image | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image index aa423f73..147706e7 100755 --- a/scripts/install/install-image +++ b/scripts/install/install-image @@ -64,10 +64,9 @@ fetch_iso_by_url () # This is for statistics collection vyos_version=`dpkg-query --showformat='${Version}' --show vyatta-version` - user_agent="-H \"User-Agent: VyOS/$vyos_version\"" filename="${TEMP_DIR}/${NEW_ISO##*/}" - curl $user_agent $auth -f -o $filename $NEW_ISO + curl -H "User-Agent: VyOS/$vyos_version" $auth -f -o $filename $NEW_ISO curlerror=$? if [ $curlerror -eq 51 ]; then host=${NEW_ISO##scp://} |