An OVA contains 2 VMs (and requires acceptance of license) - How to import only 1 VM?

This is for discussing general topics about how to use VirtualBox.
Post Reply
adrelanos
Posts: 22
Joined: 9. Sep 2018, 09:48

An OVA contains 2 VMs (and requires acceptance of license) - How to import only 1 VM?

Post by adrelanos »

An ova contains 2 VMs. Both require a license agreement to be accepted. The following command to import both, 2 VMs is functional:

Code: Select all

vboxmanage import vmname.ova --vsys 0 --eula accept --vsys 1 --eula accept
However, when attempting to import only 1 VM (let's say --vsys 0) using...

Code: Select all

vboxmanage import vmname.ova --vsys 0 --eula accept
...then vboxmanage complains that the license for other other VM (let's say --vsys 1) hasn't been accepted.
VBoxManage: error: Cannot import until the license agreement listed above is accepted.
How to import only 1 VM (let's say --vsys 0 but not --vsys 1)?
fth0
Volunteer
Posts: 5661
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: An OVA contains 2 VMs (and requires acceptance of license) - How to import only 1 VM?

Post by fth0 »

The VirtualBox User Manual doesn't say that you can use the --vsys option to not import a VM. It's only used to ignore or modify so-called units of the individual VMs. In consequence, I'd suggest to simply import all VMs and delete the unwanted ones afterwards.
Post Reply