Deploying an Ubuntu 20.04.4 VM to ESXI 7.0

Hello,

I am trying to figure out how to deploy Ubuntu 20.04 to my ESXi 7.0 standalone host with Packer. I’m new to IaC and I am trying to learn.

I have a paid version of ESXi and I am aware that Ubuntu uses the new install on their Server releases.

So, with that in mind, I have been following along with this post: Automating Ubuntu-20.04 live-server template generation with packer vsphere-iso build.

I have questions.

As I am not using vCenter, can I omit the entries for:

vcenter_datacenter
vcenter_host
vcenter_folder
cluster

Or, do I leave them in and leave them empty?

Also, I’m seeing "type": "vsphere-iso", - should I change that to vmware-iso?

Thank you,