mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 02:52:58 +00:00
When the VM contains at least one bridge, the main interface (e.g. `eth0`) is left without an IP address because that's how networks usually work. The code that queries the VM's IP addresses (through the guest agent), loops all available interfaces to find one. The existing code though would prematurely exit the loop if the interface it was checking had no IP address assigned. Like the aforementioned `eth0`, when it is controlled by a bridge. This patch fixes this problem by not exiting the loop, instead just continuing to the next interface. |
||
---|---|---|
.. | ||
containers | ||
tasks | ||
vms | ||
certificate_types.go | ||
certificate.go | ||
client.go | ||
dns_types.go | ||
dns.go | ||
hosts_types.go | ||
hosts.go | ||
network_types.go | ||
network.go | ||
nodes_types.go | ||
nodes.go | ||
storage_types.go | ||
storage.go |