VMware {code} Community
purplexedv
Contributor
Contributor
Jump to solution

Perl script for deploying a vm from template

Am looking for a perl script for deploying VM's from existing templates on Vsphere. Until now i have managed to provision vm's. I saw that there is a utility called new-vm on the powershell. I am running a linux box and hence am looking at a perl alternative. Kindly give me pointers or help me with some documentation.

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
purplexedv
Contributor
Contributor
Jump to solution

Okay I have managed to create a VM from the template using the vmclone.pl script which is part of the vmware sdk. But post creation it is not starting the VM means state is powered off. I will have to figure out a way to start the VM as well.

View solution in original post

Reply
0 Kudos
2 Replies
purplexedv
Contributor
Contributor
Jump to solution

Okay I have managed to create a VM from the template using the vmclone.pl script which is part of the vmware sdk. But post creation it is not starting the VM means state is powered off. I will have to figure out a way to start the VM as well.

Reply
0 Kudos
purplexedv
Contributor
Contributor
Jump to solution

I have modified the script to start the VM as well.

Reply
0 Kudos