mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-24 21:47:26 +00:00
Add granular IPv6 disable option to setup scripts
Expanded IPv6 configuration in build.func to include a 'disable' option with clearer descriptions. Updated install.func to use IPV6_METHOD for disabling IPv6 via sysctl.d, improving clarity and control over IPv6 management.
This commit is contained in:
@@ -1445,11 +1445,12 @@ advanced_settings() {
|
||||
if result=$(whiptail --backtitle "Proxmox VE Helper Scripts [Step $STEP/$MAX_STEP]" \
|
||||
--title "IPv6 CONFIGURATION" \
|
||||
--ok-button "Next" --cancel-button "Back" \
|
||||
--menu "\nSelect IPv6 Address Management:" 16 58 4 \
|
||||
"auto" "SLAAC/AUTO (recommended)" \
|
||||
"dhcp" "DHCPv6" \
|
||||
"static" "Static (manual entry)" \
|
||||
"none" "Disabled" \
|
||||
--menu "\nSelect IPv6 Address Management:" 16 70 5 \
|
||||
"auto" "SLAAC/AUTO (recommended) - Dynamic IPv6 from network" \
|
||||
"dhcp" "DHCPv6 - DHCP-assigned IPv6 address" \
|
||||
"static" "Static - Manual IPv6 address configuration" \
|
||||
"none" "None - No IPv6 assignment (most containers)" \
|
||||
"disable" "Fully Disabled - (breaks some services)" \
|
||||
3>&1 1>&2 2>&3); then
|
||||
|
||||
_ipv6_method="$result"
|
||||
@@ -1478,6 +1479,11 @@ advanced_settings() {
|
||||
_ipv6_gate=""
|
||||
((STEP++))
|
||||
;;
|
||||
disable)
|
||||
_ipv6_addr=""
|
||||
_ipv6_gate=""
|
||||
((STEP++))
|
||||
;;
|
||||
none)
|
||||
_ipv6_addr="none"
|
||||
_ipv6_gate=""
|
||||
|
||||
Reference in New Issue
Block a user