How-to import a .ova file into a specific base directory?

This is for discussing general topics about how to use VirtualBox.
Post Reply
Guillaume Soucy
Posts: 15
Joined: 27. Dec 2021, 04:27
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows (Multiples Versions)
Location: L'Orignal CA.
Contact:

How-to import a .ova file into a specific base directory?

Post by Guillaume Soucy »

Hello,

I need to import a .ova file using the terminal but this command is importing the VM into /root/VirtualBox VMs:

Code: Select all

vboxmanage import file.ova
How to import VMs into /mnt/disk/vm instead?

I'm using Ubuntu Server 22.04 LTS

Thank-you,

Guillaume
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: How-to import a .ova file into a specific base directory?

Post by mpack »

The container folder for new VMs is configured in the VM manager, using the File|Preferences|General|Default Machine Folder setting. Or the same option can be set on the command line using "VBoxManage setproperty machinefolder".
Guillaume Soucy
Posts: 15
Joined: 27. Dec 2021, 04:27
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows (Multiples Versions)
Location: L'Orignal CA.
Contact:

Re: How-to import a .ova file into a specific base directory?

Post by Guillaume Soucy »

It works now.

Thanks a lot!

Guillaume
Post Reply