A.69 importVirtualDisk

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

Syntax

importVirtualDisk Repository=instance server= { id | name } url=value

Where instance is:

{ id=id | name=name }

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.

server= { id | name }

The Oracle VM Server to use to perform the virtual disk file import job. This can be either the name or the ID.

url=value

The URL of the virtual disk file.

{ id=id | name=name }

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

Examples

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

OVM> importVirtualDisk Repository name=MyRepository server=MyServer \
  url=http://example.com/vdisks/myvdisk.img

See Also