If you are uploading a template that was created using vSphere Client, be sure the OVA file does not contain an ISO. If it does, the deployment of VMs from the template will fail.
Templates are uploaded based on a URL. HTTP is the supported access protocol. Templates are frequently large files. You can optionally gzip them to decrease upload times.
To upload a template:
In the left navigation bar, click Templates.
Click Create Template.
Provide the following:
Name and Display Text. These will be shown in the UI, so choose something descriptive.
URL. The Management Server will download the file from the specified URL, such as http://my.web.server/filename.vhd.gz.
Zone. Choose the zone where you want the template to be available, or All Zones to make it available throughout CloudStack.
OS Type: This helps CloudStack and the hypervisor perform certain operations and make assumptions that improve the performance of the guest. Select one of the following:
If the operating system of the stopped VM is listed, choose it.
If the OS type of the stopped VM is not listed, choose Other.
Note
You should not choose an older version of the OS than the version in the image. For example, choosing CentOS 5.4 to support a CentOS 6.2 image will in general not work. In those cases you should choose Other.
Hypervisor
Format. The format of the template upload file, such as VHD or OVA.
Password Enabled. Choose Yes if your template has the CloudStack password change script installed. See Adding Password Management to Your Templates
Extractable. Choose Yes if the template is available for extraction. If this option is selected, end users can download a full image of a template.
Public. Choose Yes to make this template accessible to all users of this CloudStack installation. The template will appear in the Community Templates list. See Section 12.5, “Private and Public Templates”
Featured. Choose Yes if you would like this template to be more prominent for users to select. The template will appear in the Featured Templates list. Only an administrator can make a template Featured.