Imports and adds a virtual machine template to a storage repository.
importTemplate
Repository=
instance
server=
{
| id
} name
url=
value
Where
is:
instance
{ id=
| id
name=
}name
This command imports and adds a virtual machine template to a storage repository.
Virtual machines and virtual machine templates are treated the same in the CLI, so many of the commands you use to manage templates are handled by the same commands as managing virtual machines, for example, to list templates, use the list Vm command, and to delete a template, use the delete Vm command.
The following table shows the available options for this command.
Option | Description |
---|---|
| The storage repository in which to import the virtual machine template. |
| The Oracle VM Server to use to perform the virtual machine template import job. This can be either the name or the ID. |
| The URL of the virtual machine template. |
{ |
The instance of the object using either the
|
Example A.86 Importing a virtual machine template to a storage repository
OVM> importTemplate Repository name=MyRepository server=MyServer \ url=http://example.com/OVM_OL5U6_X86_64_PVM_10GB.tgz