From c9b68613b657fe1af9cad1a522388c325b5cffb8 Mon Sep 17 00:00:00 2001 From: Beni Peled Date: Mon, 28 Nov 2022 15:21:36 +0200 Subject: [PATCH] ubuntu: remove apt-key refs Following #389 we can now remove the apt-key refs --- packer/build_image.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/packer/build_image.sh b/packer/build_image.sh index a2e6e980..772d2fb8 100755 --- a/packer/build_image.sh +++ b/packer/build_image.sh @@ -206,7 +206,6 @@ import_gpg_key () { echo "Importing apt key ($APT_KEY)" TMPREPO=$(mktemp -u -p /etc/apt/sources.list.d/ --suffix .list) sudo curl -sSo $TMPREPO $REPO_FOR_INSTALL - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $APT_KEY sudo mkdir -p $APT_KEYS_DIR sudo gpg --homedir /tmp --no-default-keyring --keyring $APT_KEYS_DIR/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $APT_KEY sudo apt-get update -y