File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -178,18 +178,18 @@ function select_storage() {
178
178
}
179
179
180
180
# Check for network connectivity (IPv4 & IPv6)
181
- function check_network() {
182
- local CHECK_URLS=(" 8.8.8.8" " 1.1.1.1" " 9.9.9.9" " 2606:4700:4700::1111" " 2001:4860:4860::8888" " 2620:fe::fe" )
183
-
184
- for url in " ${CHECK_URLS[@]} " ; do
185
- if ping -c 1 -W 2 " $url " & > /dev/null; then
186
- return 0 # Success: At least one connection works
187
- fi
188
- done
189
-
190
- msg_error " No network connection detected. Check your internet connection."
191
- exit 101
192
- }
181
+ # function check_network() {
182
+ # local CHECK_URLS=("8.8.8.8" "1.1.1.1" "9.9.9.9" "2606:4700:4700::1111" "2001:4860:4860::8888" "2620:fe::fe")
183
+ #
184
+ # for url in "${CHECK_URLS[@]}"; do
185
+ # if ping -c 1 -W 2 "$url" &>/dev/null; then
186
+ # return 0 # Success: At least one connection works
187
+ # fi
188
+ # done
189
+ #
190
+ # msg_error "No network connection detected. Check your internet connection."
191
+ # exit 101
192
+ # }
193
193
194
194
# Test if ID is in use
195
195
if qm status " $CTID " & > /dev/null || pct status " $CTID " & > /dev/null; then
@@ -209,7 +209,7 @@ msg_ok "Using ${BL}$CONTAINER_STORAGE${CL} ${GN}for Container Storage."
209
209
210
210
# Update LXC template list
211
211
msg_info " Updating LXC Template List"
212
- check_network
212
+ # check_network
213
213
pveam update > /dev/null
214
214
msg_ok " Updated LXC Template List"
215
215
You can’t perform that action at this time.
0 commit comments