summaryrefslogtreecommitdiffstats
path: root/share/scripts/curl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-15 12:19:35 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-22 14:29:30 +0000
commit7ff271a158f2e32381e35fa47947e29a3874d158 (patch)
treebd7a31a49d4a1aef968b12a26dfe5b85f0a5516d /share/scripts/curl
parentChanging cache directory in curl create script from /var/cache/container-tool... (diff)
downloadcompute-tools-7ff271a158f2e32381e35fa47947e29a3874d158.tar.xz
compute-tools-7ff271a158f2e32381e35fa47947e29a3874d158.zip
Using https by default in container-images.sh example script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/curl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index b80fcc1..b84869c 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -149,7 +149,7 @@ fi
if curl -V | grep -qs http2
then
- CURL_OPTIONS="${CURL_OPTIONS} --https"
+ CURL_OPTIONS="${CURL_OPTIONS} --http2"
fi
curl --fail --location --progress-bar --user-agent container-tools/${VERSION} ${CURL_OPTIONS} \