Imports and adds a virtual machine to a storage repository.
importVirtualMachine
Repository=
instance
server=
{
| id
} name
url=
value
Where
is:
instance
{ id=
| id
name=
}name
This command imports and adds a virtual machine to a storage repository. The virtual machine is placed in the Unassigned Virtual Machines folder in Oracle VM Manager. To deploy the virtual machine to an Oracle VM Server, use the add Vm command.
The following table shows the available options for this command.
Option | Description |
---|---|
| The storage repository in which to import the virtual machine. |
| The Oracle VM Server to use to perform the virtual machine import job. This can be either the name or the ID. |
| The URL of the virtual machine. To import a multi-file virtual machine, enter each URL in a comma separated list, for example: url=http://myexample.com/System-sda.img,http://myexample.com/vm.cfg |
{ |
The instance of the object using either the
|
Example A.89 Importing a virtual machine to a storage repository
OVM> importVirtualMachine Repository name=MyRepository server=MyServer \ url="http://example.com/OVM_OL5U6_X86_64_PVM_10GB.tgz"