A.117 importVirtualCdrom

Imports and adds a virtual CDROM/ISO file to a storage repository.

Syntax

importVirtualCdrom Repository instance url=value [ proxy=value ]

Where instance is:

{ id=value | name=value }

Description

This command imports and adds a virtual CDROM/ISO 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 CDROM/ISO file.

url=value

The URL of the virtual CDROM/ISO 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 CDROM/ISO file.

{ id=value | name=value }

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

Examples

Example A.148 Importing a virtual CDROM/ISO file to a storage repository

OVM> importVirtualCdrom Repository name=MyRepository url="http:////example.com//myiso.iso"

Tip

Note that, in the above example, forward slashes are used to escape the forward slashes that appear in the URL. Hence the doubling up of forward slashes.

See Also