File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ RAM_SIZE="${RAM_SIZE}"
239239HN="${HN}"
240240BRG="${BRG}"
241241APT_CACHER_IP="${APT_CACHER_IP:-none}"
242- DISABLEIP6="${DISABLEIP6} "
242+ DISABLEIP6=""
243243PW='${PW:-none}'
244244SSH="${SSH}"
245245SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
@@ -271,7 +271,7 @@ RAM_SIZE="${RAM_SIZE}"
271271HN="${HN}"
272272BRG="${BRG}"
273273APT_CACHER_IP="${APT_CACHER_IP:-none}"
274- DISABLEIP6="${DISABLEIP6} "
274+ DISABLEIP6=""
275275PW='${PW:-none}'
276276SSH="${SSH}"
277277SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
Original file line number Diff line number Diff 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}"
You can’t perform that action at this time.
0 commit comments