Imports and adds a virtual machine to a storage repository.
Syntax
importVirtualMachine
Repository
instance
url=
[
value
proxy=
]value
Where
is:
instance
{
id=
|
value
name=
}value
Description
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.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| The storage repository in which to import the virtual machine. |
| 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://example.com/Sys.img,http://example.com/vm.cfg 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 machine. |
{
|
The instance of the object using either the
|
Examples
Example A.150 Importing a virtual machine to a storage repository
OVM> importVirtualMachine Repository name=MyRepository url="http:////example.com//mytemplate.tgz"