From 059260d0fda27c919bf9924c4a653f9b8b8ead01 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 12 May 2025 14:17:02 +0200 Subject: [PATCH] Changes to Config File Logic --- misc/build.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index c379cf972..b63449912 100644 --- a/misc/build.func +++ b/misc/build.func @@ -719,7 +719,7 @@ config_file() { 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+' + pvesh get /cluster/resources --type vm --output-format json LIST_OF_IDS=$(pvesh get /cluster/resources --type vm --output-format json | grep -oP '"vmid":\s*\K\d+') if [[ -n "$LIST_OF_IDS" ]]; then