summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-12-06 14:05:30 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-12-06 14:05:30 -0800
commit2a1863ccc87927b51042b8c23a7b2c819a18707c (patch)
treee5e24ad59fbf53a08f75d2bbb0b0203a38262e05 /scripts
parent5058e65eac82aa1749d1884e573d93330834ab46 (diff)
downloadvyatta-cfg-system-2a1863ccc87927b51042b8c23a7b2c819a18707c.tar.gz
vyatta-cfg-system-2a1863ccc87927b51042b8c23a7b2c819a18707c.zip
Fix up formating of Vyatta specific HTTP options.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install/install-image4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install/install-image b/scripts/install/install-image
index ea8cfd7f..b5061b26 100755
--- a/scripts/install/install-image
+++ b/scripts/install/install-image
@@ -62,9 +62,9 @@ fetch_iso_by_url ()
auth=""
fi
- client_hdr="-H vyatta-client: install-image"
+ client_hdr="-HVyatta-Client: install-image"
vyatta_version=`dpkg-query --showformat='${Version}' --show vyatta-version`
- vers_hdr="-H vyatta-version: $vyatta_version"
+ vers_hdr="-HVyatta-Version: $vyatta_version"
filename="${TEMP_DIR}/${NEW_ISO##*/}"
curl "$client_hdr" "$vers_hdr" $auth -f -o $filename $NEW_ISO