From 01e4ea4c40bd9303188455b9a23cc6e1bd760144 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 11 Jan 2017 15:01:13 +0800 Subject: [PATCH] new: [base-0k] kalysto repository now is signed and uses ``https``. --- precise/base-0k/hooks/install.d/20-kal-scripts.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/precise/base-0k/hooks/install.d/20-kal-scripts.sh b/precise/base-0k/hooks/install.d/20-kal-scripts.sh index 75f3576..1eb8f15 100755 --- a/precise/base-0k/hooks/install.d/20-kal-scripts.sh +++ b/precise/base-0k/hooks/install.d/20-kal-scripts.sh @@ -8,12 +8,17 @@ set -eux if ! [ -e /etc/apt/sources.list.d/kalysto.org.list ]; then + + ## Required to fetch our repository in https + apt-get install -y --force-yes apt-transport-https cat < /etc/apt/sources.list.d/kalysto.org.list ## vlab's shell libraries -deb http://deb.kalysto.org no-dist kal-alpha kal-beta kal-main +deb https://deb.kalysto.org no-dist kal-alpha kal-beta kal-main EOF + ## Include the GPG key + wget -O - https://deb.kalysto.org/conf/public-key.gpg | apt-key add - ## Update only this repo: apt-get update -o Dir::Etc::sourcelist="sources.list.d/kalysto.org.list" \