A.119 importVirtualMachine

Imports and adds a virtual machine to a storage repository.


importVirtualMachine Repository instance url=value [ proxy=value ]

Where instance is:

{ id=value | name=value }


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.



Repository instance

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:


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.

{ id=value | name=value }

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


Example A.150 Importing a virtual machine to a storage repository

OVM> importVirtualMachine Repository name=MyRepository url="http:////example.com//mytemplate.tgz"

See Also