Imports and adds a virtual machine template to a storage repository.
Syntax
importTemplate
Repository
instance
url=
[
value
proxy=
]value
Where
is:
instance
{
id=
|
value
name=
}value
Description
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.
Options
The following table shows the available options for this command.
Option | Description |
---|---|
| The storage repository in which to import the virtual machine template. |
| The URL of the virtual machine template. Note that if you quote this argument, the forward slashes in the URL should be escaped. This is illustrated in the example. |
| The IP address or hostname of a proxy server to use when importing the template. |
{
|
The instance of the object using either the
|
Examples
Example A.147 Importing a virtual machine template to a storage repository
OVM> importTemplate Repository name=MyRepository url="http:////example.com//mytemplate.tgz"