mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
39 lines
2.8 KiB
XML
39 lines
2.8 KiB
XML
<?xml version='1.0' encoding='utf-8' ?>
|
|
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file:///C:/Program%20Files%20(x86)/Publican/DocBook_DTD/docbookx.dtd" [
|
|
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
|
|
%BOOK_ENTITIES;
|
|
]>
|
|
<section id="create-template-from-existing-vm">
|
|
<title>Creating a Template from an Existing Virtual Machine</title>
|
|
<para>Once you have at least one VM set up in the way you want, you can use it as the prototype for other VMs.</para>
|
|
<orderedlist>
|
|
<listitem><para>Create and start a virtual machine using any of the techniques given in <xref linkend="creating-vms"/>.</para></listitem>
|
|
<listitem><para>Make any desired configuration changes on the running VM, then click Stop.</para></listitem>
|
|
<listitem><para>Wait for the VM to stop. When the status shows Stopped, go to the next step.</para></listitem>
|
|
<listitem><para>Click Create Template and provide the following:</para>
|
|
<itemizedlist>
|
|
<listitem><para><emphasis role="bold">Name and Display Text</emphasis>. These will be shown in the UI, so
|
|
choose something descriptive.</para></listitem>
|
|
<listitem><para><emphasis role="bold">OS Type</emphasis>. This helps CloudPlatform and the hypervisor perform
|
|
certain operations and make assumptions that improve the performance of the
|
|
guest. Select one of the following.</para>
|
|
<itemizedlist>
|
|
<listitem><para>If the operating system of the stopped VM is listed, choose it.</para></listitem>
|
|
<listitem><para>If the OS type of the stopped VM is not listed, choose Other.</para></listitem>
|
|
<listitem><para>If you want to boot from this template in PV mode, choose Other PV (32-bit) or Other PV (64-bit). This choice is available only for XenServere:</para>
|
|
<note><para>Note: Generally 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.</para></note></listitem>
|
|
</itemizedlist>
|
|
</listitem>
|
|
<listitem><para><emphasis role="bold">Public</emphasis>. Choose Yes to make this template accessible to all
|
|
users of this CloudPlatform installation. The template will appear in the
|
|
Community Templates list. See <xref linkend="private-public-template"
|
|
/>.</para></listitem>
|
|
<listitem><para><emphasis role="bold">Password Enabled</emphasis>. Choose Yes if your template has the
|
|
CloudPlatform password change script installed. See Adding Password
|
|
Management to Your Templates .</para></listitem>
|
|
</itemizedlist></listitem>
|
|
<listitem><para>Click Add.</para></listitem>
|
|
</orderedlist>
|
|
<para>The new template will be visible in the Templates section when the template creation process has been completed. The template is then available when creating a new VM</para>
|
|
</section>
|