The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3585

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Andrew Deng <adeng1...@gmail.com>
Fixes #1507 
From 27408d595c926591db9eb906d41ba43997f61c38 Mon Sep 17 00:00:00 2001
From: Andrew Deng <adeng1...@gmail.com>
Date: Fri, 20 Nov 2020 19:57:09 -0600
Subject: [PATCH] implemented requested changes

Signed-off-by: Andrew Deng <adeng1...@gmail.com>
---
 templates/lxc-download.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/templates/lxc-download.in b/templates/lxc-download.in
index 278487d22c..39fafc2358 100644
--- a/templates/lxc-download.in
+++ b/templates/lxc-download.in
@@ -130,6 +130,10 @@ gpg_setup() {
 
   mkdir -p "${DOWNLOAD_TEMP}/gpg"
   chmod 700 "${DOWNLOAD_TEMP}/gpg"
+
+  if [ -z "${STANDARD_RESOLVER:-}" ]; then
+    echo "standard-resolver" > "${DOWNLOAD_TEMP}/gpg/dirmngr.conf"
+  fi
   export GNUPGHOME="${DOWNLOAD_TEMP}/gpg"
 
   success=
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to