Creates a virtual machine template from an assembly file.
Syntax
createVmFromAssembly
AssemblyVm
instance
Where
is:
instance
{
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 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 |
---|---|
{
|
The instance of the object using either the
|
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