Focal fails to add repo before key

I'm not sure why this isn't failing in the gate, but locally I get
100% fail if I don't add the release key before the apt-add-
repository. This seems to be a change in focal as it worked fine
for me before upgrade.
This moves the key fetch/add before the repo.
Change-Id: I50d840986d630af033a7a3e47bb1e9c52e889791
This commit is contained in:
Dan Smith
2020年11月09日 13:56:00 -08:00
parent 76496e8234
commit 75523680ce

View File

@@ -953,8 +953,8 @@ function configure_repo_ceph {
local distro_release="3ドル"
if is_ubuntu; then
sudo apt-add-repository -y "deb https://download.ceph.com/debian-${ceph_release}/ ${distro_release} main"
wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
sudo apt-add-repository -y "deb https://download.ceph.com/debian-${ceph_release}/ ${distro_release} main"
sudo ${package_manager} -y update
elif is_fedora; then
dnf_add_repository_ceph ${ceph_release} ${distro_release}
Reference in New Issue
openstack/devstack-plugin-ceph
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.