Importing a Virtual Machine Template

Before you can use a virtual machine template, you must import it into Oracle VM Manager and make it available to your server pool(s). Virtual machine templates are stored in the server pool's storage repository by importing them from a web server into Oracle VM Manager.

In a storage repository, templates are typically imported as an archive (.tgz, .tar or other). The archive contains a virtual machine configuration file (.cfg) file, and at least one virtual disk image (.img file).


On disk, a template archive is unpacked after import. The .cfg file of the virtual machine is always referenced from the Templates folder, but the virtual disk image files (.img) are placed in the VirtualDisks folder. This makes the creation of virtual machines from template a lot faster, which also applies to cloning of virtual machines.

To import a virtual machine template:

  1. Place the archive containing the Oracle VM template in a location accessible from your Oracle VM environment using either of these protocols: HTTP, HTTPS or FTP.

  2. In the Home view click Server Pools in the navigation pane, then open the Templates tab in the management pane.

  3. Click Import to open the Import Template dialog box. Select or edit the following:

    • Repository: The storage repository in which to import the template.

    • Server: The Oracle VM Server to use the perform the template import.

    • Template URLs: The URLs for the templates. To import a multi-file template, enter each template component URL on a new line. The URL protocols supported are HTTP, HTTPS, and FTP.

    Click OK to import the template(s). When the import is complete, the new template(s) appear in the Templates table.

  4. Optionally, click Edit to change the name of the template and add a description.

  5. To remove a template from the storage repository, select it and click Delete.

For information about creating a virtual machine from a template, see Section 7.8, “Cloning a Virtual Machine or Template”.