A.32 createVmFromVirtualAppliance

Creates a virtual machine (template) from a virtual machine in an virtual appliance.


createVmFromVirtualAppliance VirtualApplianceVm instance

Where instance is:

{ id=value | name=value }


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 listed in the VM Templates folder in the Repositories tab in Oracle VM Manager.


The following table shows the available options for this command.



{ id=value | name=value }

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


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.


Example A.43 Creating a virtual machine (template) from a virtual appliance

OVM> createVmFromVirtualAppliance VirtualApplianceVm name=MyVm

See Also