Compare commits

..

No commits in common. "7919b2b4d28691ef249aa3a0989b7131f2afb331" and "ffe4c3a24f8a9bf49716b53a429a6d2260c61947" have entirely different histories.

View File

@ -648,12 +648,12 @@ advanced_settings() {
fi fi
fi fi
# if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "IPv6" --yesno "Disable IPv6?" 10 58); then
# DISABLEIP6="yes" DISABLEIP6="yes"
# else else
# DISABLEIP6="no" DISABLEIP6="no"
# fi fi
# echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}$DISABLEIP6${CL}" echo -e "${DISABLEIPV6}${BOLD}${DGN}Disable IPv6: ${BGN}$DISABLEIP6${CL}"
if MTU1=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Set Interface MTU Size (leave blank for default [The MTU of your selected vmbr, default is 1500])" 8 58 --title "MTU SIZE" 3>&1 1>&2 2>&3); then if MTU1=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --inputbox "Set Interface MTU Size (leave blank for default [The MTU of your selected vmbr, default is 1500])" 8 58 --title "MTU SIZE" 3>&1 1>&2 2>&3); then
if [ -z "$MTU1" ]; then if [ -z "$MTU1" ]; then
@ -1016,15 +1016,15 @@ build_container() {
# if [ "$VERBOSE" == "yes" ]; then set -x; fi # if [ "$VERBOSE" == "yes" ]; then set -x; fi
NET_STRING="-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU" NET_STRING="-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU"
# case "$IPV6_METHOD" in case "$IPV6_METHOD" in
# slaac) NET_STRING="$NET_STRING,ip6=slaac" ;; slaac) NET_STRING="$NET_STRING,ip6=slaac" ;;
# dhcp) NET_STRING="$NET_STRING,ip6=dhcp" ;; dhcp) NET_STRING="$NET_STRING,ip6=dhcp" ;;
# static) static)
# NET_STRING="$NET_STRING,ip6=$IPV6_ADDR" NET_STRING="$NET_STRING,ip6=$IPV6_ADDR"
# [ -n "$IPV6_GATE" ] && NET_STRING="$NET_STRING,gw6=$IPV6_GATE" [ -n "$IPV6_GATE" ] && NET_STRING="$NET_STRING,gw6=$IPV6_GATE"
# ;; ;;
# none) NET_STRING="$NET_STRING,ip6=none" ;; none) NET_STRING="$NET_STRING,ip6=none" ;;
# esac esac
if [ "$CT_TYPE" == "1" ]; then if [ "$CT_TYPE" == "1" ]; then
FEATURES="keyctl=1,nesting=1" FEATURES="keyctl=1,nesting=1"