A.31 createVmFromAssembly (Deprecated)

Creates a virtual machine template from an assembly file.

Important

This command has been deprecated. Instead, use the createVmFromVirtualAppliance command.

Syntax

createVmFromAssembly AssemblyVm instance

Where instance is:

{ id=value | name=value }

Description

This command creates a virtual machine template from an AssemblyVm object. An AssemblyVm object is created for each virtual machine in an assembly file when an assembly file is imported using the importAssembly (Deprecated) command. The virtual machine template files are created in the same storage repository as the original AssemblyVm object. To create a virtual machine from the template, use the clone Vm command.

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=MyAssembly.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.42 Creating virtual machines from an assembly

OVM> createVmFromAssembly AssemblyVm name=myassembly.ova

See Also