From 87eacd4d49033d38d7e3257046079a77fd60e588 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E6=9C=89=E5=BC=A0=E7=BA=B8?= Date: Tue, 8 Aug 2017 18:06:38 +0800 Subject: [PATCH] debian: jessie and stretch keyring support Signed-off-by: feng xiahou xiahoufeng@yahoo.com --- templates/lxc-debian.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 3b22b06ea..923d40173 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -359,9 +359,15 @@ openssh-server "wheezy") gpgkeyname="archive-key-7.0" ;; - *) + "jessie") gpgkeyname="archive-key-8" ;; + "stretch") + gpgkeyname="archive-key-9" + ;; + *) + gpgkeyname="archive-key-9" + ;; esac wget https://ftp-master.debian.org/keys/${gpgkeyname}.asc -O - --quiet \ | gpg --import --no-default-keyring --keyring="${releasekeyring}" -- 2.47.2