mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-25 15:02:53 +01:00
lxc-info lists every IPv4 inside the container, Docker bridges and VPN tunnels included, and they often come before the LAN address, so a healthy container was pinged on 172.17.0.1 and restarted. The address now comes from net0's static ip=, else from net0's interface read in the container's network namespace from the host, and only then from lxc-info. A container is restarted after two rounds of three lost pings instead of one. Fixes #18928