dhcp fix alpine

This commit is contained in:
CanbiZ
2025-05-07 08:00:45 +02:00
parent b187ec383e
commit db26e9805b
2 changed files with 15 additions and 0 deletions

View File

@@ -573,6 +573,12 @@ advanced_settings() {
fi
done
if [ "$var_os" == "alpine" ] && [ "$NET" == "dhcp" ] && [ "$NX" != "Host" ]; then
UDHCPC_FIX="yes"
else
UDHCPC_FIX="no"
fi
if [ "$NET" != "dhcp" ]; then
while true; do
GATE1=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Enter gateway IP address" 8 58 --title "Gateway IP" 3>&1 1>&2 2>&3)