]> git.proxmox.com Git - pve-manager.git/commitdiff
pveceph: update Ceph releases and repo dist for Bookworm
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 May 2023 13:15:30 +0000 (15:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 30 May 2023 13:16:19 +0000 (15:16 +0200)
We'll only support Quincy and newer in Bookworm, and Reef isn't yet
released.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pveceph.pm

index 52c91629861e54e98fa1858c745e1710123030a5..e24f5fcaf8b7d803bf1411b115c85368a3abcaf4 100755 (executable)
@@ -106,8 +106,8 @@ __PACKAGE__->register_method ({
        return undef;
     }});
 
-my $supported_ceph_versions = ['octopus', 'pacific', 'quincy'];
-my $default_ceph_version = 'pacific';
+my $supported_ceph_versions = ['quincy'];
+my $default_ceph_version = 'quincy';
 
 __PACKAGE__->register_method ({
     name => 'install',
@@ -147,13 +147,8 @@ __PACKAGE__->register_method ({
        my $repo = $param->{'test-repository'} ? 'test' : 'main';
 
        my $repolist;
-       if ($cephver eq 'octopus') {
-           warn "Ceph Octopus will go EOL after 2022-07\n";
-           $repolist = "deb http://download.proxmox.com/debian/ceph-octopus bullseye $repo\n";
-       } elsif ($cephver eq 'pacific') {
-           $repolist = "deb http://download.proxmox.com/debian/ceph-pacific bullseye $repo\n";
-       } elsif ($cephver eq 'quincy') {
-           $repolist = "deb http://download.proxmox.com/debian/ceph-quincy bullseye $repo\n";
+       if ($cephver eq 'quincy') {
+           $repolist = "deb http://download.proxmox.com/debian/ceph-quincy bookworm $repo\n";
        } else {
            die "unsupported ceph version: $cephver";
        }