templates/lxc-download.in: use GPG option --receive-keys instead of --recv-keys

Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
This commit is contained in:
Johannes Kastl 2020-06-30 19:13:04 +02:00
parent 5408652de4
commit 409040e702
No known key found for this signature in database
GPG Key ID: C9E6AFD8C1B7CFFC

View File

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