Hi all,
I am trying to build a system in which you can automatically (Using the CLI) create N copies of a previously created Virtual Machine, register them, run them and start doing things with them via ssh.
So far, I have writen some scripts that use the CLI to do some of these tasks.
For example, to create N copies of the original Virtual Machine, I copy the whole folder with a new name:
The last command does not work, as the vmdk file has not been erased but has been changed with a file with the same name + _flat.
Thanks and best regards,
JP
So, no answer at all from anybody?
I know you can right click on the VM and select choose awnser for guest so you don't have to open the console, however this still probably isn't the scripting awnser you where looking for.
Must be a way tho,
That was obiously not the kind of answer I was looking for. This is extremely frustrating. My company even contracted the Basic Support, but we are not able to find a way to contact the support. VMWare Web Page is anything but intuitive, damn it...
You can answer the question while powering on:
http://kb.vmware.com/kb/1026835
http://communities.vmware.com/thread/303211
However, what I was looking for is not to have to power on to answer the question, OR never had to answer the question.
http://kb.vmware.com/kb/1541 has the information that gave me the solution.
Add
uuid.action = "keep"
or
uuid.action = "change"
to the vmx of the VM and refresh (re-register or kb 1026043) so the vmx is reloaded.
KBs used: