diff --git a/misc/build.func b/misc/build.func index d83c99e8..26937e76 100644 --- a/misc/build.func +++ b/misc/build.func @@ -626,6 +626,17 @@ advanced_settings() { exit_script fi + if ADV_TAGS=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set Custom Tags?[If you remove all, there will be no tags!]" 8 58 ${TAGS} --title "Advanced Tags" 3>&1 1>&2 2>&3); then + if [ -n "${ADV_TAGS}" ]; then + ADV_TAGS=${ADV_TAGS:-""} + ADV_TAGS=$(echo "$ADV_TAGS" | tr -d '[:space:]') + TAGS="community-script;${ADV_TAGS}" + fi + echo -e "${NETWORK}${BOLD}${DGN}Tags: ${BGN}$TAGS${CL}" + else + exit_script + fi + if [[ "$PW" == -password* ]]; then if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH ACCESS" --yesno "Enable Root SSH Access?" 10 58); then SSH="yes"