pveceph: fix variable name and file ending for deb822 formatted ceph repo

In commit 405fcbc1e ("pveceph: switch repo sources to modern deb822
format") we switched away from single-line repos, but the later
rebased commit 9c0ac59e0 ("fix #5244 pveceph: install: add new
repository for offline installation") seemingly missed that change and
was not re-tested, thus it referenced the previous variable name and
old file ending, as this was already pushed let's fix it as this
follow-up.

Fixes: 9c0ac59e0 ("fix #5244 pveceph: install: add new repository for offline installation")
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-10-06 19:10:39 +02:00
parent 6d8d8d567b
commit 360e906d53

View file

@ -209,7 +209,7 @@ EOF
}
if ($repo ne "manual") {
PVE::Tools::file_set_contents("/etc/apt/sources.list.d/ceph.list", $repolist);
PVE::Tools::file_set_contents("/etc/apt/sources.list.d/ceph.sources", $repo_source);
if ($available_ceph_releases->{$cephver}->{unsupported}) {
if ($param->{'allow-experimental'}) {