A.118 importVirtualDisk

Imports and adds a virtual disk file to a storage repository.

Syntax

importVirtualDisk Repository instance url=value [ proxy=value ]

Where instance is:

{ id=value | name=value }

Description

This command imports and adds a virtual disk file to a storage repository.

Options

The following table shows the available options for this command.

Option

Description

Repository instance

The storage repository in which to import the virtual disk file.

url=value

The URL of the virtual disk file. Note that if you quote this argument, the forward slashes in the URL should be escaped. This is illustrated in the example.

proxy=value

The IP address or hostname of a proxy server to use when importing the virtual disk file.

{ id=value | name=value }

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

Examples

Example A.149 Importing a virtual disk file to a storage repository

OVM> importVirtualDisk Repository name=MyRepository url="http:////example.com//myvdisk.img"

See Also