LinuxCommandLibrary

vboxmanage-createvm

Create a new virtual machine.

TLDR

Create a new VM with default settings

$ VBoxManage createvm --name [vm_name]
copy


Set the base folder where the VM configuration will be stored
$ VBoxManage createvm --name [vm_name] --basefolder [path/to/directory]
copy


Set the guest OS type (one of VBoxManage list ostypes) for the imported VM
$ VBoxManage createvm --name [vm_name] --ostype [ostype]
copy


Register the created VM in VirtualBox
$ VBoxManage createvm --name [vm_name] --register
copy


Set the VM to the specified groups
$ VBoxManage createvm --name [vm_name] --group [group1,group2,...]
copy


Set the Universally Unique Identifier (UUID) of the VM
$ VBoxManage createvm --name [vm_name] --uuid [uuid]
copy


Set the cipher to use for encryption
$ VBoxManage createvm --name [vm_name] --cipher [AES-128|AES-256]
copy

Copied to clipboard