From 895cc7fdcf05d05bfeb45aed39de2cf74ef663dc Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 27 Jul 2026 19:32:09 +0200 Subject: [PATCH] core: fix OS version fallback when the host catalog lacks the requested version & harden template validation (#16068) --- misc/build.func | 253 ++++++++++++++++++---------------------- misc/error_handler.func | 7 +- 2 files changed, 119 insertions(+), 141 deletions(-) diff --git a/misc/build.func b/misc/build.func index c025c7e4f..95bfa2698 100644 --- a/misc/build.func +++ b/misc/build.func @@ -895,6 +895,108 @@ choose_and_set_storage_for_file() { # SECTION 5: CONFIGURATION & DEFAULTS MANAGEMENT # ============================================================================== +# ------------------------------------------------------------------------------ +# Distinct versions of OS type $1 in the cached pveam catalog (no network). +# `pveam available` prints "
\t