Compare commits

...

3 Commits

Author SHA1 Message Date
CanbiZ
7919b2b4d2 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-06-24 13:21:19 +02:00
CanbiZ
19f04baf8e Update build.func 2025-06-24 13:21:18 +02:00
CanbiZ
140fcc4c91 Update build.func 2025-06-24 13:12:35 +02:00

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"