Virtualbox - Run an Ova File from Command Line

I have a remote Ubuntu server without GUI. How can I run a virtual machine with a test.ova file from the command line?

I folloed this tutorial, but how can I attach the .ova file to the VM?

1 Answer

An ova file is a complete archive with all of the information to create a VirtualBox VM included inside it. You would use the command:

vboxmanage import test.ova

This will create the VM in your default VM location, with the same settings as the original VM. You can change settings using the --vsys options to this command as mentioned in the VirtualBox manual. To change the VM name you'd use:

vboxmanage import test.ova --vsys 0 --vmname <name>
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest