Kirk Kosinski created CLOUDSTACK-353:
----------------------------------------

             Summary: Add support for virt-sysprep for template creation (and 
possibly VM deployment) on KVM 
                 Key: CLOUDSTACK-353
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-353
             Project: CloudStack
          Issue Type: Improvement
          Components: Hypervisor Controller, KVM, Template
    Affects Versions: pre-4.0.0
            Reporter: Kirk Kosinski
            Priority: Minor


On KVM, the virt-sysprep utility can be used to generalize a Linux VM disk 
image. In RHEL and Ubuntu, this tool is included in the libguestfs-tools 
package and the man page is here:
http://libguestfs.org/virt-sysprep.1.html

It would be useful if CloudStack could run virt-sysprep during the process of 
creating a template from a KVM VM. Such an option could be added to the 
createTemplate API and as a checkbox in the UI, and the person creating the 
template would not need to manually perform the tasks handled by virt-sysprep. 
Additionally, it might also be useful to have the option of running this tool 
on a VM immediately prior to booting it for the first time after deploying it, 
since someone might want or need to use existing templates that have not have 
been properly generalized. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to