The Network adapter (VM Network) is connected, and i see a mac address in ESXi.
In the logging of the DHCP server I don't see any requests coming in either.
However, when I add cloudinit data to the Terraform file, the vm will get an IP address.
example:
Does it have anything to do with the fact that a hostname is set with cloudinit?
I've tried different Ubuntu versions (22.04 and 20.04) but with the same result.
When I deploy a simple VM, it does not receive an IP address.
The Network adapter (VM Network) is connected, and i see a mac address in ESXi. In the logging of the DHCP server I don't see any requests coming in either.
However, when I add cloudinit data to the Terraform file, the vm will get an IP address. example:
with the following metadata and userdata.yaml content
Does it have anything to do with the fact that a hostname is set with cloudinit? I've tried different Ubuntu versions (22.04 and 20.04) but with the same result.
OS: Debian 12 Terraform: 1.5.7 Ovftool: 4.4.3 Plugin: 1.10.3