Automatic config via ISO and cloud-config.yml

Hello,
I’m moving first steps in the rancher world.
I would like to try to deploy some rancheros machines in my vmware farm.
So I booted a new VM with the ISO image and then I had to configure it and installing in my local disk /dev/sda via cloud-config.yml
I was wondering if there is a way to do all this during the boot process putting somwhere the cloud-config.yml file.
Generally speaking I was wondering if there is a way to deploy multiple VM let the hypervisor customize some parameters like hostname ad IP address.

Thank You

Regards