summaryrefslogtreecommitdiffstats
path: root/share
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
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 'share')
-rwxr-xr-xshare/doc/examples/container-images.sh2
-rwxr-xr-xshare/scripts/curl2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/doc/examples/container-images.sh b/share/doc/examples/container-images.sh
index 74e7ee0..b743f57 100755
--- a/share/doc/examples/container-images.sh
+++ b/share/doc/examples/container-images.sh
@@ -10,7 +10,7 @@ set -e
ARCHITECTURES="amd64 i386"
DISTRIBUTIONS="stretch sid"
-MIRROR="http://deb.debian.org/debian"
+MIRROR="https://deb.debian.org/debian"
INCLUDE="dbus"
DATE="$(date +%Y%m%d)"
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} \