From afb0c0ae823caa775b5154697e3e87be459aa316 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 12 May 2025 14:11:51 +0200 Subject: [PATCH] Changes to Config File Logic --- misc/build.func | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index 90fc4aa..c379cf9 100644 --- a/misc/build.func +++ b/misc/build.func @@ -718,7 +718,8 @@ config_file() { echo -e "${CONTAINERID}${BOLD}${DGN}Container ID: ${BGN}$CT_ID${CL}" elif [[ "$CT_ID" =~ ^[0-9]+$ ]]; then - + echo "Befor LIST_OF_IDS" + pvesh get /cluster/resources --type vm --output-format json | grep -oP '"vmid":\s*\K\d+' LIST_OF_IDS=$(pvesh get /cluster/resources --type vm --output-format json | grep -oP '"vmid":\s*\K\d+') if [[ -n "$LIST_OF_IDS" ]]; then