Skip to content

Commit

Permalink
ubuntu: remove apt-key refs
Browse files Browse the repository at this point in the history
Following #389 we can now remove the apt-key refs
  • Loading branch information
benipeled committed Nov 28, 2022
1 parent 3ab18c9 commit 7119257
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packer/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,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
Expand Down
1 change: 0 additions & 1 deletion packer/scylla_install_image
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ if __name__ == '__main__':
print('Error: need to specify --localdeb or --repo/--repo-for-install')
sys.exit(1)

run('apt-key adv --keyserver keyserver.ubuntu.com --recv-keys d0a112e067426ab2', shell=True, check=True)
run(f'mkdir -p {apt_keys_dir}; gpg --homedir /tmp --no-default-keyring --keyring {apt_keys_dir}/scylladb.gpg '
f'--keyserver hkp://keyserver.ubuntu.com:80 --recv-keys d0a112e067426ab2', shell=True, check=True)

Expand Down

0 comments on commit 7119257

Please sign in to comment.