pveceph: drop special for octopus and pacific, unsupported in 8.x

sort the package list while at it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-30 15:17:05 +02:00
parent 74ea1fb257
commit ddd8927990

View File

@ -171,18 +171,13 @@ __PACKAGE__->register_method ({
my @ceph_packages = qw(
ceph
ceph-common
ceph-mds
ceph-fuse
ceph-mds
ceph-volume
gdisk
nvme-cli
);
# got split out with quincy and is required by PVE tooling, conditionally exclude it for older
# FIXME: remove condition with PVE 8.0, i.e., once we only support quincy+ new installations
if ($cephver ne 'octopus' and $cephver ne 'pacific') {
push @ceph_packages, 'ceph-volume';
}
print "start installation\n";
# this flag helps to determine when apt is actually done installing (vs. partial extracing)