Skip to content

Commit

Permalink
packer/scylla_install_image: update gpg key inisde the image
Browse files Browse the repository at this point in the history
Following the changes in 23bc340, it seems i missed a place for the gpg
key replacement

adding it so we can run `apt-get update` inside our images

Fixes: scylladb/scylla-pkg#4255
  • Loading branch information
yaronkaikov committed Aug 5, 2024
1 parent 23bc340 commit cb2d61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packer/scylla_install_image
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if __name__ == '__main__':
run('apt-get update --allow-insecure-repositories -y', shell=True, check=True)
run('apt-get install -y gnupg2', 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 491c93b9de7496a7', shell=True, check=True)
f'--keyserver hkp://keyserver.ubuntu.com:80 --recv-keys a43e06657bac99e3', shell=True, check=True)

if args.repo_for_install:
run(f'curl -L -o /etc/apt/sources.list.d/scylla_install.list {args.repo_for_install}', shell=True, check=True)
Expand Down

0 comments on commit cb2d61f

Please sign in to comment.