diff --git a/misc/build.func b/misc/build.func index bc15bd0b7..d632f0b60 100644 --- a/misc/build.func +++ b/misc/build.func @@ -8,6 +8,7 @@ variables() { NSAPP=$(echo ${APP,,} | tr -d ' ') # This function sets the NSAPP variable by converting the value of the APP variable to lowercase and removing any spaces. var_install="${NSAPP}-install" # sets the var_install variable by appending "-install" to the value of NSAPP. INTEGER='^[0-9]+([.][0-9]+)?$' # it defines the INTEGER regular expression pattern. + PVEHOST_NAME=$(hostname) # gets the Proxmox Hostname and sets it to Uppercase } # This function sets various color variables using ANSI escape codes for formatting text in the terminal. @@ -314,7 +315,6 @@ advanced_settings() { fi done fi - # Setting Default Tag for Advanced Settings TAGS="community-script;" @@ -580,7 +580,7 @@ advanced_settings() { else clear header_info - echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings${CL}" + echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings on node $PVEHOST_NAME${CL}" advanced_settings fi } @@ -614,7 +614,7 @@ install_script() { case $CHOICE in 1) header_info - echo -e "${DEFAULT}${BOLD}${BL}Using Default Settings${CL}" + echo -e "${DEFAULT}${BOLD}${BL}Using Default Settings on node $PVEHOST_NAME${CL}" VERB="no" base_settings "$VERB" echo_default @@ -622,7 +622,7 @@ install_script() { ;; 2) header_info - echo -e "${DEFAULT}${BOLD}${BL}Using Default Settings (${SEARCH}${BOLD}${BL} Verbose)${CL}" + echo -e "${DEFAULT}${BOLD}${BL}Using Default Settings on node $PVEHOST_NAME(${SEARCH}${BOLD}${BL} Verbose)${CL}" VERB="yes" base_settings "$VERB" echo_default @@ -630,7 +630,7 @@ install_script() { ;; 3) header_info - echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings${CL}" + echo -e "${ADVANCED}${BOLD}${RD}Using Advanced Settings on node $PVEHOST_NAME${CL}" advanced_settings break ;;