mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 02:39:43 +00:00
Alternative connectivity checks for LXC (#6472)
This commit is contained in:
parent
dde882f9e5
commit
7433f7df0c
1 changed files with 4 additions and 0 deletions
|
@ -1286,6 +1286,10 @@ EOF
|
|||
msg_ok "Network in LXC is reachable"
|
||||
break
|
||||
fi
|
||||
if pct exec "$CTID" -- curl -fsSIL --max-time 10 deb.debian.org >/dev/null 2>&1; then
|
||||
msg_ok "Network in LXC is reachable"
|
||||
break
|
||||
fi
|
||||
if [ "$i" -lt 10 ]; then
|
||||
msg_warn "No network yet in LXC (try $i/10) – waiting..."
|
||||
sleep 3
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue