Page 1 of 1
How to clone single virtual machine X times
Posted: 27. Jun 2016, 16:32
by miroslavres
I want to clone single virtual machine 10 times.
Is there an option in VirtualBox to do it?
If there is, can you tell me how to do it.
Thanks
Miroslav
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 11:55
by mpack
I already answered this when you posted (off topic) in the CloneVDI topic. My answer was :-
mpack wrote:
I have no doubt you could use the command line and a batch file.
See "VBoxManage" in the
VirtualBox User Manual. I would have thought this was enough to get you going, but we can see if anyone else has a better idea. Or is there something specific you needed help with?
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 14:13
by scottgus1
Miroslav wrote:Is there an option in VirtualBox to do it
Right-click the guest in the main Virtualbox window and click "Clone" ten times?
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 15:41
by miroslavres
For single cloning takes about 15 minutes. For 10 cloning should be 150 minutes.
I do not want to wait every time I click to clone, but to do it automatically.
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 15:51
by scottgus1
Virtualbox does not have a way to do this automatically. You need the batch file and the command linked in Mpack's thread. Use the command in a looping batch file. Google for how to make a batch file loop a certain number of times.
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 18:53
by mpack
scottgus1 wrote:Google for how to make a batch file loop a certain number of times.
Or just repeat the commands ten times in the batch file, presumably with a different clone name each time.
Re: How to clone single virtual machine X times
Posted: 28. Jun 2016, 19:26
by scottgus1
Mpack wrote:repeat the commands ten times
simpler and better!!