all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager] pveceph: Multi-architecture support for ceph package detection
@ 2026-06-11 12:56 oneway1024
  0 siblings, 0 replies; only message in thread
From: oneway1024 @ 2026-06-11 12:56 UTC (permalink / raw)
  To: pve-devel; +Cc: oneway1024

Remove hardcoded amd64 architecture suffix when looking up ceph-common versions.
This change allows pveceph to work on all supported architectures, not just x86_64.

Signed-off-by: oneway1024 <oneway1024@foxmail.com>
---
 PVE/CLI/pveceph.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/CLI/pveceph.pm b/PVE/CLI/pveceph.pm
index e74a81eb..1fe75174 100755
--- a/PVE/CLI/pveceph.pm
+++ b/PVE/CLI/pveceph.pm
@@ -257,7 +257,7 @@ EOF
 
         if ($repo eq "manual") {
             my $apt_cache = AptPkg::Cache->new() || die "unable to initialize AptPkg::Cache\n";
-            my @ceph_versions = $apt_cache->{'ceph-common:amd64'}->{'VersionList'}->@*;
+            my @ceph_versions = $apt_cache->{'ceph-common'}->{'VersionList'}->@*;
             my $latest_available = $ceph_versions[0]->{'VerStr'};
             my $selected_version =
                 PVE::Ceph::Releases::get_ceph_release_info($cephver)->{'release'};
-- 
2.43.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 12:56 [PATCH manager] pveceph: Multi-architecture support for ceph package detection oneway1024

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal