From 84cd45c0c5870812677be161e1856dffde83d8a2 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Sat, 28 Nov 2026 14:16:01 +0100 Subject: [PATCH] PVE Post Install: say so when it runs outside Proxmox VE Without pveversion the version check ended in "command not found" (exit 127, 5 runs in four days, none with a PVE version). --- tools/pve/post-pve-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/pve/post-pve-install.sh b/tools/pve/post-pve-install.sh index 6c4cadc1e..2decf88f5 100644 --- a/tools/pve/post-pve-install.sh +++ b/tools/pve/post-pve-install.sh @@ -88,6 +88,11 @@ main() { esac done + if ! command -v pveversion >/dev/null 2>&1; then + msg_error "This script runs on a Proxmox VE host, and pveversion is missing here" + exit 105 + fi + local PVE_VERSION PVE_MAJOR PVE_MINOR PVE_VERSION="$(get_pve_version)" read -r PVE_MAJOR PVE_MINOR <<<"$(get_pve_major_minor "$PVE_VERSION")"