A.106 exportVirtualAppliance

Exports a virtual appliance to a storage repository.

Syntax

exportVirtualAppliance Repository instance name=value vms=value

Where instance is:

{ id=value | name=value }

Description

This command creates a virtual appliance from one or more virtual machines, then saves the virtual appliance in a storage repository.

Options

The following table shows the available options for this command.

Option

Description

Repository instance

The storage repository in which to export the virtual appliance.

name=value

The name of the virtual appliance.

vms=value

The names or IDs of the virtual machines to be exported in the virtual appliance, in a comma separated list.

Note

Virtual machines must be in the Stopped state before you can export them.

{ id=value | name=value }

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

Examples

Example A.134 Exporting a virtual appliance to a storage repository

OVM> exportVirtualAppliance Repository name=MyRepository name=MyVirtualAppliance \
  vms=0004fb00000600004b291334d6730d57,0004fb00000600006c67aa9bfb6ca0f6

See Also