Imports and adds an assembly to a storage repository.
Syntax
importAssembly
Repository
instance
url=
[
value
proxy=
]value
Where
is:
instance
{
id=
|
value
name=
}value
Description
This command imports and adds an assembly file to a storage repository. The imported assembly is unpacked and each virtual machine is contained within an AssemblyVm object. The AssemblyVm objects are created in the same storage repository as the original assembly file. Use the list AssemblyVm command to find the name and ID of the new AssemblyVm objects, then use the createVmFromAssembly command to create a virtual machine templates from each AssemblyVm object.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| The storage repository in which to import the assembly. |
| The URL of the assembly. 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 assembly. |
{
|
The instance of the object using either the
|
Examples
Example A.146 Importing an assembly to a storage repository
OVM> importAssembly Repository name=MyRepository url="http:////example.com//myassembly.ova"