pveceph: support installing Ceph 18.2 Reef

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-09-04 18:05:08 +02:00
parent b4b39b55f8
commit 12c8efb59e

View File

@ -114,7 +114,7 @@ my sub has_valid_subscription {
return $info->{status} && $info->{status} eq 'active'; # age check? return $info->{status} && $info->{status} eq 'active'; # age check?
} }
my $supported_ceph_versions = ['quincy']; my $supported_ceph_versions = ['quincy', 'reef'];
my $default_ceph_version = 'quincy'; my $default_ceph_version = 'quincy';
__PACKAGE__->register_method ({ __PACKAGE__->register_method ({
@ -171,7 +171,9 @@ __PACKAGE__->register_method ({
} }
my $repolist; my $repolist;
if ($cephver eq 'quincy') { if ($cephver eq 'reef') {
$repolist = "deb ${cdn}/debian/ceph-reef bookworm $repo\n";
} elsif ($cephver eq 'quincy') {
$repolist = "deb ${cdn}/debian/ceph-quincy bookworm $repo\n"; $repolist = "deb ${cdn}/debian/ceph-quincy bookworm $repo\n";
} else { } else {
die "unsupported ceph version: $cephver"; die "unsupported ceph version: $cephver";