VirtualBox

Opened 9 years ago

#14635 new enhancement

A way to start (or list) all the VMs in a group

Reported by: Lapo Luchini Owned by:
Component: VM control Version: VirtualBox 4.3.30
Keywords: Cc:
Guest type: all Host type: all

Description

I know it's possible to start all the VM in a group using the GUI, but I can't find an easy way to do it from VBoxManage.

I would suggest to add something like:

    VBoxManage startvm --group '/groupname'

Or at least to allow easy scripting with a command that lists all the VMs in a single group, which right now is only possible with some clever scripting like this:

    VBoxManage list -l vms | awk '/^Groups:/ { groups = $2; } /^UUID:/ { uuid = $2; if (groups == "/groupname") print uuid; }'

(which as is doesn't support VMs in multiple groups)

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use