Skip to content

Commit e049d59

Browse files
authored
Enhance IPv6 configuration menu options
Updated IPv6 Address Management menu options for clarity and added a new option for fully disabling IPv6.
1 parent 13acde2 commit e049d59

File tree

1 file changed

+116
-6
lines changed

1 file changed

+116
-6
lines changed

misc/build.func

Lines changed: 116 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
12
#!/usr/bin/env bash
23
# Copyright (c) 2021-2025 community-scripts ORG
34
# Author: tteck (tteckster) | MickLesk | michelroegl-brunner
45
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/branch/main/LICENSE
6+
57

68
# ==============================================================================
79
# BUILD.FUNC - LXC CONTAINER BUILD & CONFIGURATION
@@ -80,8 +82,110 @@ variables() {
8082
fi
8183
}
8284

83-
85+
86+
87+
88+
89+
90+
91+
92+
93+
94+
95+
96+
97+
98+
99+
100+
101+
102+
103+
104+
105+
106+
107+
108+
109+
110+
111+
112+
113+
114+
115+
116+
117+
118+
119+
120+
121+
122+
123+
124+
125+
126+
127+
128+
129+
130+
131+
132+
133+
134+
135+
136+
137+
138+
84139
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/api.func)
140+
141+
142+
143+
144+
145+
146+
147+
148+
149+
150+
151+
152+
153+
154+
155+
156+
157+
158+
159+
160+
161+
162+
163+
164+
165+
166+
167+
168+
169+
170+
171+
172+
173+
174+
175+
176+
177+
178+
179+
180+
181+
182+
183+
184+
185+
186+
187+
188+
85189

86190
if command -v curl >/dev/null 2>&1; then
87191
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func)
@@ -1342,11 +1446,12 @@ advanced_settings() {
13421446
if result=$(whiptail --backtitle "Proxmox VE Helper Scripts [Step $STEP/$MAX_STEP]" \
13431447
--title "IPv6 CONFIGURATION" \
13441448
--ok-button "Next" --cancel-button "Back" \
1345-
--menu "\nSelect IPv6 Address Management:" 16 58 4 \
1346-
"auto" "SLAAC/AUTO (recommended)" \
1347-
"dhcp" "DHCPv6" \
1348-
"static" "Static (manual entry)" \
1349-
"none" "Disabled" \
1449+
--menu "\nSelect IPv6 Address Management:" 16 70 5 \
1450+
"auto" "SLAAC/AUTO (recommended) - Dynamic IPv6 from network" \
1451+
"dhcp" "DHCPv6 - DHCP-assigned IPv6 address" \
1452+
"static" "Static - Manual IPv6 address configuration" \
1453+
"none" "None - No IPv6 assignment (most containers)" \
1454+
"disable" "Fully Disabled - (breaks some services)" \
13501455
3>&1 1>&2 2>&3); then
13511456

13521457
_ipv6_method="$result"
@@ -1375,6 +1480,11 @@ advanced_settings() {
13751480
_ipv6_gate=""
13761481
((STEP++))
13771482
;;
1483+
1484+
1485+
1486+
1487+
13781488
none)
13791489
_ipv6_addr="none"
13801490
_ipv6_gate=""

0 commit comments

Comments
 (0)