
On Thu, May 18, 2017 at 10:40 AM, Luca 'remix_tj' Lorenzetto < lorenzetto.luca@gmail.com> wrote:
Hello Joel,
as far as i know, virt-sysprep has to be executed inside the VM before cloning it to template. This removes some infos from the VM like udev rules & ssh keys.
So this has changed in 4.1. You can now choose to seal a template during its creation. This will take a VM, that may have not been sealed, create a template out of it and then invoke virt-sysprep on the template's disks. Joel, in the 'make template' dialog you'll see a checkbox (at the bottom) for 'Seal Template' that will do the trick. There is also a 'seal' parameter in the REST-API, of course [1]. [1] https://github.com/oVirt/ovirt-engine-api-model/blob/master/src/main/java/se...
Luca
On Wed, May 17, 2017 at 8:53 PM, Joel Diaz <mrjoeldiaz@gmail.com> wrote:
Good afternoon ovirt users,
I'm new to ovirt. I've created templates in the past using this guide, https://github.com/rharmonson/richtech/wiki/CentOS-7-1511- Minimal-oVirt-Template .
I was going over the list of features and stumbled on to virt-sysprep.
http://www.ovirt.org/develop/release-management/features/virt-sysprep/
http://libguestfs.org/virt-sysprep.1.html
How can I use virt-sysprep from within ovirt to create templates?
Thank you for your help,
Joel
Joel
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
"Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente)
Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , < lorenzetto.luca@gmail.com> _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users