Page 1 of 1
Using vboxmanage to instantiate multiple guests...
Posted: 22. Mar 2011, 20:37
by jtcowboy
Howdy,
I was wonderin if this was even possible with VirtualBox:
I have a guest vm (Ubuntu) on my Mac Host. I want to be able to "startup" an instantiation of that Ubuntu guest using vboxmanage and then fire up 2 or 3 more...or 10 more instances of that one Ubuntu guest. I want to designate the mac addresses for each adapter on each instance.
Possible on VritualBox?
Thanks,
Cowboy
Re: Using vboxmanage to instantiate multiple guests...
Posted: 22. Mar 2011, 21:11
by vbox4me2
As long as there is ram you can run many vm's.
Re: Using vboxmanage to instantiate multiple guests...
Posted: 22. Mar 2011, 21:32
by jtcowboy
Howdy,
Thanks. But what I am asking is - Can I use a vm as a template and use vboxmanage to "fire up" multiple instances in ram of that SAME vm?
So lets say that my list of vms is:
servervm
desktopvm
Now can I "fire up"/"start up"/"instantiate", using vboxmanage, 7 running "servervm" and 3 running "desktopvm"? As of right now, it appears that I can only start up one of each.
Thanks,
Cowboy
Re: Using vboxmanage to instantiate multiple guests...
Posted: 22. Mar 2011, 21:41
by vbox4me2
No you'd have to clone them to do what you want.
Re: Using vboxmanage to instantiate multiple guests...
Posted: 22. Mar 2011, 21:58
by jtcowboy
Ok. Thanks.
Re: Using vboxmanage to instantiate multiple guests...
Posted: 23. Mar 2011, 11:29
by mlr
Hi,
Funny I just posted a feature request related to this. In it I explained what I did to clone a VM at any snapshot state, you may be interested.
First I open a session on ISnapshot.Machine object and remove all HD from mutable VM (Session.Machine).
I then create the appliance on a temporary file.
I import this file as many time as I want clones of the VM.
Finally I reattached the removed HD on each clone.
Hope it will help.
Marc