[lxc-devel] [lxc/master] debian: jessie and stretch keyring support

fanyeren on Github lxc-bot at linuxcontainers.org
Tue Aug 8 10:07:00 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 348 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170808/4fb0f6f4/attachment.bin>
-------------- next part --------------
From 87eacd4d49033d38d7e3257046079a77fd60e588 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=89=E5=BC=A0=E7=BA=B8?= <fanyeren at gmail.com>
Date: Tue, 8 Aug 2017 18:06:38 +0800
Subject: [PATCH] debian: jessie and stretch keyring support

Signed-off-by: feng xiahou xiahoufeng at 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}"


More information about the lxc-devel mailing list