I imported both Ubuntu 20.04 and 22.04 OVA into vSphere like this:
govc import.ova -name ubuntu-20.04-server-cloudimg-amd64-md -folder vm/DIA_RnD/RMD/buildenvironment/templates https://cloud-images.ubuntu.com/releases/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.ova
govc import.ova -name ubuntu-22.04-server-cloudimg-amd64-md -folder vm/DIA_RnD/RMD/buildenvironment/templates https://cloud-images.ubuntu.com/releases/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.ova
For Ubuntu 20.04 the VM created from the template works and gets an IP: 20.04 vSphere
For Ubuntu 22.04 the VM does not get an IP: 22.04 vSphere
I have also tried to use import.spec and pass the options json file but same result, it works for 20.04 but not for 22.04.
govc import.spec ubuntu-22.04-server-cloudimg-amd64.ova | jq . > 2204.json
govc import.ova -name ubuntu-22.04-server-cloudimg-amd64-md -options 2204.json -folder vm/DIA_RnD/RMD/buildenvironment/templates https://cloud-images.ubuntu.com/releases/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.ova
Many thanks in advance.