A.133 importVirtualAppliance

Imports and adds a virtual appliance to a storage repository.


importVirtualAppliance Repository instance url=value [ proxy=value ]

Where instance is:

{ id=value | name=value }


This command imports and adds a virtual appliance to a storage repository. The imported virtual appliance is unpacked and each virtual machine is contained within an VirtualApplianceVm object. The VirtualApplianceVm objects are created in the same storage repository as the original virtual appliance. Use the list VirtualApplianceVm command to find the name and ID of the new VirtualApplianceVm objects, then use the createVmFromVirtualAppliance command to create virtual machines from each VirtualApplianceVm object.


The following table shows the available options for this command.



Repository instance

The storage repository in which to import the virtual appliance.


The URL of the virtual appliance. Note that if you quote this argument, the forward slashes in the URL should be escaped. This is illustrated in the example.


The IP address or hostname of a proxy server to use when importing the virtual appliance.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyServer.


Example A.169 Importing a virtual appliance to a storage repository

OVM> importVirtualAppliance Repository name=MyRepository url="http:////example.com//myvirtualappliance.ova"

See Also