From: oneway1024 <oneway1024@foxmail.com>
To: pve-devel@lists.proxmox.com
Cc: oneway1024 <oneway1024@foxmail.com>
Subject: [PATCH manager] pveceph: Multi-architecture support for ceph package detection
Date: Thu, 11 Jun 2026 20:56:02 +0800 [thread overview]
Message-ID: <tencent_C3AB43DCD4233CD028D88A1E27C52173F106@qq.com> (raw)
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
reply other threads:[~2026-06-11 13:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_C3AB43DCD4233CD028D88A1E27C52173F106@qq.com \
--to=oneway1024@foxmail.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.