<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>12.8. Uploading Templates</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.2.0-en-US-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.2.0');
              
              addID('Apache_CloudStack.4.2.0.books');
	      addID('Apache_CloudStack.4.2.0.Admin_Guide');
              </script><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="working-with-templates.html" title="Chapter 12. Working with Templates" /><link rel="prev" href="create-template-from-snapshot.html" title="12.7. Creating a Template from a Snapshot" /><link rel="next" href="export-template.html" title="12.9. Exporting Templates" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="create-template-from-snapshot.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="export-template.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="upload-template" lang="en-US"><div class="titlepage"><div><div><h2 class="title">12.8. Uploading Templates</h2></div></div></div><div class="warning"><div class="admonition_header"><h2>vSphere Templates and ISOs</h2></div><div class="admonition"><div class="para">
			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.
		</div></div></div><div class="para">
		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.
	</div><div class="para">
		To upload a template:
	</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
				In the left navigation bar, click Templates.
			</div></li><li class="listitem"><div class="para">
				Click Register Template.
			</div></li><li class="listitem"><div class="para">
				Provide the following:
			</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Name and Description</strong></span>. These will be shown in the UI, so choose something descriptive.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>URL</strong></span>. The Management Server will download the file from the specified URL, such as http://my.web.server/filename.vhd.gz.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Zone</strong></span>. Choose the zone where you want the template to be available, or All Zones to make it available throughout CloudStack.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>OS Type</strong></span>: This helps CloudStack and the hypervisor perform certain operations and make assumptions that improve the performance of the guest. Select one of the following:
					</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
								If the operating system of the stopped VM is listed, choose it.
							</div></li><li class="listitem"><div class="para">
								If the OS type of the stopped VM is not listed, choose Other.
							</div><div class="note"><div class="admonition_header"><h2>Note</h2></div><div class="admonition"><div class="para">
									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.
								</div></div></div></li></ul></div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Hypervisor</strong></span>: The supported hypervisors are listed. Select the desired one.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Format</strong></span>. The format of the template upload file, such as VHD or OVA.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Password Enabled</strong></span>. Choose Yes if your template has the CloudStack password change script installed. See Adding Password Management to Your Templates
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Extractable</strong></span>. Choose Yes if the template is available for extraction. If this option is selected, end users can download a full image of a template.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Public</strong></span>. Choose Yes to make this template accessible to all users of this CloudStack installation. The template will appear in the Community Templates list. See <a class="xref" href="private-public-template.html">Section 12.5, “Private and Public Templates”</a>.
					</div></li><li class="listitem"><div class="para">
						<span class="bold bold"><strong>Featured</strong></span>. 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.
					</div></li></ul></div></li></ol></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="create-template-from-snapshot.html"><strong>Prev</strong>12.7. Creating a Template from a Snapshot</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="export-template.html"><strong>Next</strong>12.9. Exporting Templates</a></li></ul></body></html>
