Skip to content

Commit a80ec39

Browse files
committed
fix broken ip6 config file
1 parent bb33d00 commit a80ec39

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

misc/build.func

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ RAM_SIZE="${RAM_SIZE}"
239239
HN="${HN}"
240240
BRG="${BRG}"
241241
APT_CACHER_IP="${APT_CACHER_IP:-none}"
242-
DISABLEIP6="${DISABLEIP6}"
242+
DISABLEIP6=""
243243
PW='${PW:-none}'
244244
SSH="${SSH}"
245245
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
@@ -271,7 +271,7 @@ RAM_SIZE="${RAM_SIZE}"
271271
HN="${HN}"
272272
BRG="${BRG}"
273273
APT_CACHER_IP="${APT_CACHER_IP:-none}"
274-
DISABLEIP6="${DISABLEIP6}"
274+
DISABLEIP6=""
275275
PW='${PW:-none}'
276276
SSH="${SSH}"
277277
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"

misc/config-file.func

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -424,19 +424,6 @@ config_file() {
424424
fi
425425
fi
426426

427-
if [[ "${DISABLEIP6-}" == "yes" ]]; then
428-
echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}Yes${CL}"
429-
elif [[ "${DISABLEIP6-}" == "no" ]]; then
430-
echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}No${CL}"
431-
else
432-
if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
433-
DISABLEIP6="yes"
434-
else
435-
DISABLEIP6="no"
436-
fi
437-
echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}$DISABLEIP6${CL}"
438-
fi
439-
440427
if [[ -n "${MTU-}" ]]; then
441428
if [[ "$MTU" =~ ^-?[0-9]+$ ]]; then
442429
echo -e "${DEFAULT}${BOLD}${DGN}Interface MTU Size: ${BGN}$MTU${CL}"

0 commit comments

Comments
 (0)