

The –ostype option specifies the guest operating system to run in the VM.The createvm command creates a new XML virtual machine definition file.Settings file: '/home/kifarunix/VirtualBox VMs/ubuntu18server/ubuntu18server.vbox' Sample output Virtual machine 'ubuntu18server' is created and registered. VBoxManage createvm -name ubuntu18server -ostype Ubuntu_64 -register How to install VirtualBox on Linux system Create and Register a Virtual MachineĪs a first step on how to automate virtual machine installation on VirtualBox, run the command below to create and register the vm.

You can check the link below on how to install VirtualBox

To begin with, you need to have installed VirtualBox on your host system.
