]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
debian: jessie and stretch keyring support 1735/head
author有张纸 <fanyeren@gmail.com>
Tue, 8 Aug 2017 10:06:38 +0000 (18:06 +0800)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2017 10:06:38 +0000 (18:06 +0800)
Signed-off-by: feng xiahou xiahoufeng@yahoo.com
templates/lxc-debian.in

index 3b22b06ea6da0dac17d6075f77fc428abe96261c..923d40173020e48d392db8982b65f52c543970f2 100644 (file)
@@ -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}"