Arik,
Very cool. It's exactly what I was looking for.
However, I don't see that checkbox. I've attached an image of what the
template window looks like on my end. Maybe I'm looking in the wrong place?
Thanks for the response,
On May 18, 2017 12:29 PM, "Arik Hadas" <ahadas(a)redhat.com> wrote:
On Thu, May 18, 2017 at 10:40 AM, Luca 'remix_tj' Lorenzetto <
lorenzetto.luca(a)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/services/TemplatesService.java#L168
>
> Luca
>
> On Wed, May 17, 2017 at 8:53 PM, Joel Diaz <mrjoeldiaz(a)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-Mi
> nimal-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(a)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(a)gmail.com>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>