Update build.func

This commit is contained in:
CanbiZ 2025-06-24 14:47:41 +02:00
parent 08e56fc18c
commit f1c26300a6

View File

@ -536,10 +536,9 @@ advanced_settings() {
while true; do while true; do
IPV4_METHOD=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" \ IPV4_METHOD=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" \
--title "IPv4 Address Management" \ --title "IPv4 Address Management" \
--menu "Select IPv4 Address Assignment Method:" 12 60 3 \ --menu "Select IPv4 Address Assignment Method:" 12 60 2 \
"dhcp" "Automatic (DHCP, recommended)" \ "dhcp" "Automatic (DHCP, recommended)" \
"static" "Static (manual entry)" \ "static" "Static (manual entry)" \
"none" "Disabled (no IPv4 address)" \
3>&1 1>&2 2>&3) 3>&1 1>&2 2>&3)
exit_status=$? exit_status=$?
@ -554,12 +553,6 @@ advanced_settings() {
echo -e "${NETWORK}${BOLD}${DGN}IPv4: DHCP${CL}" echo -e "${NETWORK}${BOLD}${DGN}IPv4: DHCP${CL}"
break break
;; ;;
none)
NET="none"
GATE=""
echo -e "${NETWORK}${BOLD}${DGN}IPv4: Disabled${CL}"
break
;;
static) static)
# Static: call and validate CIDR address # Static: call and validate CIDR address
while true; do while true; do