From 4c3f2f0c0a4b3deb5e081d1c5850a17646dfd4cf Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 25 Mar 2025 09:35:40 +0100 Subject: [PATCH] Update build.func --- misc/build.func | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/build.func b/misc/build.func index dea9e3273..aa42ddd3c 100644 --- a/misc/build.func +++ b/misc/build.func @@ -12,6 +12,7 @@ variables() { DIAGNOSTICS="yes" # sets the DIAGNOSTICS variable to "yes", used for the API call. METHOD="default" # sets the METHOD variable to "default", used for the API call. RANDOM_UUID="$(cat /proc/sys/kernel/random/uuid)" # generates a random UUID and sets it to the RANDOM_UUID variable. + CT_TYPE="${CT_TYPE:-$var_unprivileged}" # Set an environment variable for the container type. } source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/api.func)