A.67 importTemplate

Imports and adds a virtual machine template to a storage repository.


importTemplate Repository=instance server= { id | name } url=value

Where instance is:

{ 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.




The storage repository in which to import the virtual machine template.

server= { id | name }

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.

{ id=id | name=name }

The instance of the object using either the id or name option, for example name=MyServer.


Example A.86 Importing a virtual machine template to a storage repository

OVM> importTemplate Repository name=MyRepository server=MyServer \

See Also