Opened 11 years ago
#12560 new enhancement
[Feature request] Anonymous virtual machines.
Reported by: | marianito1234 | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.3.6 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | all |
Description
Hi. I have a feature request. Sometimes, we need to create from scratch, start and stop some virtual machines from a linux bash script. I have this through the VBoxManage command: register a new virtual machine, configure the disk adapter, attach the disk to it, and so on. Because this machines run in headless mode, the name are created by the bash script with a pseudorandom name.
In qemu, is much more simpler to start a virtual machine. Simply call the qemu executable with all the params need. But, in VirtualBox, we need to register the virtual machine, modify it to configure, start, stop, deregister it. And if I have duplicated one disk (with the same UUID) for two virtual machines, the second refuse to configures by the duplicated UUID. If the virtual machine crash, we need to test if they are registered before to restart it.
It is possible add a new mode like qemu without a virtual machine registration?. With this mode, a new executable can be created (for example vboxanonymous or something) which accept all params in the same command line (disks, ram memory, network cards, sound card, etc).
Thanks.