2424<section id =" update-iso-vm" >
2525 <!-- CLOUDSTACK-667 -->
2626 <title >Changing a VM's Base Image</title >
27- <para >Every VM is created from a base image, which is a template or ISO which has been
28- created and stored in &PRODUCT; . Both cloud administrators and end users can create and
29- modify templates, ISOs, and VMs.</para >
30- <para >In &PRODUCT; , you can change an
31- existing VM's base image. For example, suppose there is a template based
32- on a particular operating system, and the OS vendor releases a software patch. The
33- administrator or user naturally wants to apply the patch and then make sure existing VMs
27+ <para >Every VM is created from a base image, which is a template or ISO which has been created and
28+ stored in &PRODUCT; . Both cloud administrators and end users can create and modify templates,
29+ ISOs, and VMs.</para >
30+ <para >In &PRODUCT; , you can change an existing VM's base image from one template to another,
31+ or from one ISO to another. (You can not change from an ISO to a template, or from a
32+ template to an ISO).</para >
33+ <para >For example, suppose there is a
34+ template based on a particular operating system, and the OS vendor releases a software patch.
35+ The administrator or user naturally wants to apply the patch and then make sure existing VMs
3436 start using it. Whether a software update is involved or not, it's also possible to simply
3537 switch a VM from its current template to any other desired template.</para >
36- <para >To change a VM's base image, call the restoreVirtualMachine API command and pass in the virtual machine
37- ID and a new template ID. The template ID parameter may refer to either a template or an
38- ISO. When this call occurs, the VM's root disk is first destroyed, then a new root disk is
39- created from the source designated in the template ID parameter. The new root disk is
40- attached to the VM, and now the VM is based on the new template.</para >
38+ <para >To change a VM's base image, call the restoreVirtualMachine API command and pass in the
39+ virtual machine ID and a new template ID. The template ID parameter may refer to either a
40+ template or an ISO, depending on which type of base image the VM was already using (it must
41+ match the previous type of image). When this call occurs, the VM's root disk is first destroyed,
42+ then a new root disk is created from the source designated in the template ID parameter. The new
43+ root disk is attached to the VM, and now the VM is based on the new template.</para >
44+ <para >You can also omit the template ID parameter from the restoreVirtualMachine call. In this
45+ case, the VM's root disk is destroyed and recreated, but from the same template or ISO that was
46+ already in use by the VM.</para >
4147</section >
0 commit comments