0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00
terraform-provider-proxmox/proxmox/nodes/vms
mandrav 9fd9d211d7
fix(vm): no IP address detection when VM contains bridges (#493)
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.
2023-08-14 21:22:50 -04:00
..
firewall feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
client.go feat: API client cleanup and refactoring (#323) 2023-05-26 01:32:51 +00:00
vms_types_test.go feat(vm): add support for disk cache option (#443) 2023-07-29 13:29:14 -04:00
vms_types.go feat(vm): add support for SMBIOS settings (#454) 2023-08-06 00:31:17 +00:00
vms.go fix(vm): no IP address detection when VM contains bridges (#493) 2023-08-14 21:22:50 -04:00