Hello,
I am trying to deploy a vApp from a template in the catalog, I have been successful creating the vApp using (http://velemental.com/2012/03/24/deploying-a-vapp-in-vcd-from-a-catalog-using-powercli/) , but the VMs inside get the names of the VMs in the template and also the hostnames for the OS from the template.
Example:
vAppTemplate = rhel_template
vAppTemplate->VM1 = rhel_vm
vAppTemplate -> VM1 -> hostname = rhelos
When I deploy the new vApp(johntest) using powerCLI I am getting:
vApp = johntest
vApp->VM1 = rhel_vm <-- This does not change (I want it to be johntest)
vApp -> VM1 -> hostname = rhelos <-- This does not change (I want it to be johntest)
Does anyone have an example of how to do this and can share?
Thanks,
John