[pbs-devel] [PATCH proxmox-offline-mirror 1/2] add support for ceph reef
Stefan Sterz
s.sterz at proxmox.com
Tue Nov 21 15:48:17 CET 2023
since it's the new default ceph release, add support for setting up
the ceph reef repos in the `setup` command.
Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
src/bin/proxmox-offline-mirror.rs | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/bin/proxmox-offline-mirror.rs b/src/bin/proxmox-offline-mirror.rs
index 9d37ea6..2f2e782 100644
--- a/src/bin/proxmox-offline-mirror.rs
+++ b/src/bin/proxmox-offline-mirror.rs
@@ -255,10 +255,14 @@ fn action_add_mirror(config: &SectionConfigData) -> Result<Vec<MirrorConfig>, Er
Octopus,
Pacific,
Quincy,
+ Reef,
}
let releases = match release {
- &Release::Bookworm => vec![(CephRelease::Quincy, "Quincy (17.x)")],
+ Release::Bookworm => vec![
+ (CephRelease::Quincy, "Quincy (17.x)"),
+ (CephRelease::Reef, "Reef (18.x)"),
+ ],
Release::Bullseye => {
vec![
(CephRelease::Octopus, "Octopus (15.x)"),
@@ -324,6 +328,7 @@ fn action_add_mirror(config: &SectionConfigData) -> Result<Vec<MirrorConfig>, Er
CephRelease::Octopus => "octopus",
CephRelease::Pacific => "pacific",
CephRelease::Quincy => "quincy",
+ CephRelease::Reef => "reef",
};
let url = format!("{base_url}-{ceph_release} {release} {components}");
--
2.39.2
More information about the pbs-devel
mailing list