From a80ec397401cb1ee3a20da072f27c066a01e3800 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 30 Jun 2025 12:39:29 +0200 Subject: [PATCH] fix broken ip6 config file --- misc/build.func | 4 ++-- misc/config-file.func | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/misc/build.func b/misc/build.func index 43badf40f..863cf50e0 100644 --- a/misc/build.func +++ b/misc/build.func @@ -239,7 +239,7 @@ RAM_SIZE="${RAM_SIZE}" HN="${HN}" BRG="${BRG}" APT_CACHER_IP="${APT_CACHER_IP:-none}" -DISABLEIP6="${DISABLEIP6}" +DISABLEIP6="" PW='${PW:-none}' SSH="${SSH}" SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}" @@ -271,7 +271,7 @@ RAM_SIZE="${RAM_SIZE}" HN="${HN}" BRG="${BRG}" APT_CACHER_IP="${APT_CACHER_IP:-none}" -DISABLEIP6="${DISABLEIP6}" +DISABLEIP6="" PW='${PW:-none}' SSH="${SSH}" SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}" diff --git a/misc/config-file.func b/misc/config-file.func index 401cd73cb..5e7d6d7cc 100644 --- a/misc/config-file.func +++ b/misc/config-file.func @@ -424,19 +424,6 @@ config_file() { fi fi - if [[ "${DISABLEIP6-}" == "yes" ]]; then - echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}Yes${CL}" - elif [[ "${DISABLEIP6-}" == "no" ]]; then - echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}No${CL}" - else - if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then - DISABLEIP6="yes" - else - DISABLEIP6="no" - fi - echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}$DISABLEIP6${CL}" - fi - if [[ -n "${MTU-}" ]]; then if [[ "$MTU" =~ ^-?[0-9]+$ ]]; then echo -e "${DEFAULT}${BOLD}${DGN}Interface MTU Size: ${BGN}$MTU${CL}"