]> git.proxmox.com Git - mirror_lxc.git/commitdiff
Revert "templates/lxc-download.in: use GPG option --receive-keys instead of --recv...
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 7 Aug 2020 19:09:01 +0000 (15:09 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 7 Aug 2020 19:09:01 +0000 (15:09 -0400)
This reverts commit 409040e702f814a167aed5a0e833f4d5c67fd29d.

Testing of both options show identical behavior but receive-keys does
not exist on older releases, so let's revert this.

Closes #3510

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-download.in

index 4cb21299b4d7f7c9b746857e5b65b35456ca3241..fbfca32bcc3304adea56523661be491c396b4ad3 100644 (file)
@@ -135,7 +135,7 @@ gpg_setup() {
   success=
   for _ in $(seq 3); do
     if gpg --keyserver "${DOWNLOAD_KEYSERVER}" ${DOWNLOAD_GPG_PROXY:-} \
-      --receive-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then
+      --recv-keys "${DOWNLOAD_KEYID}" >/dev/null 2>&1; then
       success=1
       break
     fi