Hi Guys,
I am trying to create a workflow that can do this list of things :
- Create a number of VMs from a template (the number of the VMs and the template are chosen by the user)
- Once the VM is created, it will be reconfigured (change RAM, Add disk, changeVMvCPU)
My workflow seems to work perfectly, the only problem I have is that I don't know how to give to all the VMs a DNS name and an IP address.
I tried an action called "getCustomizationGlobalIPSettingsWithDomainAsString" since it is the only one I could find but it doesn't do the job (or maybe it's me who is still a beginner with vCO), with this action the user can say "the list of DNS servers, for a virtual network adapter with a static IP address" and a "list of name resolution suffixes for the virtual network adapter", but I don't know what to put as values for those two input...
My VMs are created with a localhost as a DNS name by default and I don't know why!
any idea how can I easily give an IP adress and DNS to ma VMs in the workflow that I am trying to create ?
The main idea is that the user will run the Workflow and all what he has to do is to say :
-the number of VMs he wants to be created // done
-the names of VMs start with ... "prefix"// done
- virtual machine or template to clone// done
- virtual machine folder// done
- datastore// done
- destination host// done
- memory size// done
- disk size// done
- vCPU number// done
- dns server // not yet
- ip address // not yet
Thanks for your help!!