Hi All,
Does anyone know if it’s possible to pass variables into the ‘Custom Script’ / cloud-init section, when creating a VM in AHV via Prism Element?
Ideally, I’d like to use the REST API to create (clone) a VM from a template, and pass a ‘Custom Script’ perhaps from an ADSF path, that is able to configure the guest’s Hostname / FQDN based off the VM’s name specified in the REST API call.
IPAM and some basic cloud-init config is working, just trying to determine the best way to set the hostname!
Best answer by Alona
View original