A.33 createVmFromVirtualApplianceVm

Creates a virtual machine from a virtual machine in a virtual appliance.

Syntax

createVmFromVirtualApplianceVm VirtualApplianceVm instance

Where instance is:

{ id=value | name=value }

Description

This command creates a virtual machine from a VirtualApplianceVm object. A VirtualApplianceVm object is created for each virtual machine in a virtual appliance file when a virtual appliance file is imported using the importVirtualAppliance command. The virtual machine files are created in the same storage repository as the original VirtualApplianceVm object. To see a list of VirtualApplianceVm objects, use the list VirtualApplianceVm command.

The virtual machine is created and deployed to the Unassigned Virtual Machines folder in in the Servers and VMs tab in Oracle VM Manager.

Options

The following table shows the available options for this command.

Option

Description

{ id=value | name=value }

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

Note

Any create command only creates a single instance of an object, and therefore only accepts a single object instance as an attribute. Providing more than one object of the same attribute type as a parameter always results in the last attribute value taking precedence.

Examples

Example A.44 Creating a virtual machine from a virtual appliance

OVM> createVmFromVirtualApplianceVm VirtualApplianceVm name=MyVm

See Also