Description of problem: The need for an integrated solution to create gold image in the form of a template has been a challenge for a while for a while to oVirt users. the need to clear ssh keys, persistence udev network rules, users and passwords etc has been manual process, which presents a hassle to the users. Proposed solution: integration of virt-sysprep in oVirt. when creating a template or applying it on an existing one, the user would be able to run virt-sysprep on a specific template, clearing all relevant data from the image and have a clean image for future use as a template. use-cases to cover: -creation of a template from a vm -run on an existing template/s API: needed as addition actions to the above use cases Configuration: the command line parameters needs to be configurable. with possibility for different profiles in the future Packaging: virt-sysprep will be required on the hosts UI: -an option to run virt-sysprep would be added to create vm from template command dialogue -an option to run virt-sysprep on selected templates would be added to the template tab
Before implementing, will need to be considered how the new template version will behave in case VMs are based on the latest one.
this is now tracked on https://trello.com/c/dN08y1W2 with a target of 4.1 for the "run on an existing template" case