diff --git a/misc/build.func b/misc/build.func index e68ef09a..13f1c8b7 100644 --- a/misc/build.func +++ b/misc/build.func @@ -12,6 +12,7 @@ variables() { PVEHOST_NAME=$(hostname) # gets the Proxmox Hostname and sets it to Uppercase 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_UUDI variable. } # This function sets various color variables using ANSI escape codes for formatting text in the terminal. @@ -796,8 +797,7 @@ post_to_api() { local pve_version="not found" pve_version=$(pveversion | awk -F'[/ ]' '{print $2}') - JSON_PAYLOAD=$( - cat <