Clones a virtual machine or template to a new virtual machine or template.
clone Vm
instance
destType=
{ Vm
| VmTemplate
} destName=
value
serverPool=
value
Where
is:
instance
{ id=
| id
name=
}name
This command clones a virtual machine or template to a new virtual machine or template.
The following table shows the available options for this command.
Option | Description |
---|---|
| The object to create from the virtual machine, either a virtual machine or a template. |
| The name of the cloned virtual machine or template. |
| The server pool on which to deploy the cloned virtual machine or template. |
{ |
The instance of the object using either the
|
Example A.21 Cloning a virtual machine to a virtual machine
OVM> clone Vm name=MyVM destType=Vm destName=MyNewVM serverPool=MyServerPool
Example A.22 Cloning a virtual machine to a template
OVM> clone Vm name=MyVM destType=VmTemplate destName=MyVMTemplate serverPool=MyServerPool
Example A.23 Cloning a template to a virtual machine
OVM> clone Vm name=MyVM destType=Vm destName=MyNewVM serverPool=MyServerPool
Example A.24 Cloning a template to a template
OVM> clone Vm name=MyVM destType=VmTemplate destName=MyVMTemplate serverPool=MyServerPool