]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: use gpg key for add-repo on ubuntu/debian
authorAdam King <adking@redhat.com>
Thu, 10 Jun 2021 19:16:15 +0000 (15:16 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 17 Jun 2021 08:47:02 +0000 (10:47 +0200)
commit46ff429bf0752932bab17d42a0b46ddfd8285c5e
tree756843dbe9b0ce589111f504206fe2669d0b1576
parentf22087a51d452128b4357ae665cce82c5790b9a1
cephadm: use gpg key for add-repo on ubuntu/debian

We were using the ascii version of the gpg key which
was marked as an unsupported filetype by apt-get which
caused apt-get to not make use of the repo source we
were adding.

Additionally, added aomething to make sure we update the
package list after adding the source and key

Fixes: https://tracker.ceph.com/issues/44972
Fixes: https://tracker.ceph.com/issues/45009
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 54055381fd61d290bf3b44ec01e7d4f3a0eb5f1c)
src/cephadm/cephadm