Imports and adds a virtual appliance to a storage repository.
Syntax
Where
is:
instance
{
id=
|
value
name=
}value
Description
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.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| 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. |
{
|
The instance of the object using either the
|
Examples
Example A.169 Importing a virtual appliance to a storage repository
OVM> importVirtualAppliance Repository name=MyRepository url="http:////example.com//myvirtualappliance.ova"