Import Template

To import a virtual machine template:

  1. The Oracle VM template should be accessible to your Oracle VM environment from a location that can be reached using HTTP, HTTPS or FTP.

  2. Click the Repositories tab. Select the repository in which to store the template. Select VM Templates in the navigation tree.

  3. Select Import VM Template... Import VM Template... icon in the toolbar in the management pane.

  4. The Import VM Template dialog box is displayed. Select or edit the following:

    • VM Template URLs: The URLs for the templates. The URL schemes supported are HTTP, HTTPS, and FTP. For example:


      To import a template using FTP, use the standard FTP syntax:


      If your template files are split into multiple compressed files [1] , concatenate those files and enter the URL for the concatenated file, for example to concatenate a number of compressed files to one compressed file, enter

       $ cat template.tgz.1of3 template.tgz.2of3 template.tgz.3of3 > template.tgz

      Then enter the URL to the single compressed template file, in this case, template.tgz.

      To import a template that is not compressed as a single file, each component must be a complete file (if not, concatenate them to one file), for example to enter a virtual disk image and a virtual machine configuration file that together make up a complete template, you could enter:


      Each template component should be listed on a new line. Each URL must be a reference to a complete file.

      Alternatively, you can place all the files in the same directory on a web server, and import the vm.cfg file, and all the supporting virtual disk files are also imported.

    • Proxy: The IP address or hostname of an optional proxy server to use when importing the template.

    Click OK to import the template. When the import job is complete, the new template is displayed in the table in the management pane. Expand the table row to see more information about the template.

[1] Templates can get very large, so it is not unusual that they are split into manageable chunks. This splitting is done without any attempt at preserving the structure, so the structure must be reconstructed by amalgamating the various files together again before import.