Using vboxmanage to instantiate multiple guests...

This is for discussing general topics about how to use VirtualBox.
Post Reply
jtcowboy
Posts: 11
Joined: 3. Mar 2011, 19:58
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Ubuntu

Using vboxmanage to instantiate multiple guests...

Post 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
jtcowboy
Posts: 11
Joined: 3. Mar 2011, 19:58
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Using vboxmanage to instantiate multiple guests...

Post 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
jtcowboy
Posts: 11
Joined: 3. Mar 2011, 19:58
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Using vboxmanage to instantiate multiple guests...

Post by jtcowboy »

Ok. Thanks.
mlr
Posts: 4
Joined: 5. Jan 2011, 13:13
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: Using vboxmanage to instantiate multiple guests...

Post 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
Post Reply