<div dir="auto">Arik,<div dir="auto"><br></div><div dir="auto">Very cool. It's exactly what I was looking for. </div><div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">Thanks for the response,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On May 18, 2017 12:29 PM, "Arik Hadas" <<a href="mailto:ahadas@redhat.com">ahadas@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 10:40 AM, Luca 'remix_tj' Lorenzetto <span dir="ltr"><<a href="mailto:lorenzetto.luca@gmail.com" target="_blank">lorenzetto.luca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello Joel,<br>
<br>
as far as i know, virt-sysprep has to be executed inside the VM before<br>
cloning it to template. This removes some infos from the VM like udev<br>
rules & ssh keys.<br>
<br></blockquote><div><br></div><div>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.</div><div><br></div><div>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].</div><div><br></div><div>[1] <a href="https://github.com/oVirt/ovirt-engine-api-model/blob/master/src/main/java/services/TemplatesService.java#L168" target="_blank">https://github.com/oVirt/<wbr>ovirt-engine-api-model/blob/<wbr>master/src/main/java/services/<wbr>TemplatesService.java#L168</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Luca<br>
<div><div class="m_-7618525465892497942gmail-h5"><br>
On Wed, May 17, 2017 at 8:53 PM, Joel Diaz <<a href="mailto:mrjoeldiaz@gmail.com" target="_blank">mrjoeldiaz@gmail.com</a>> wrote:<br>
> Good afternoon ovirt users,<br>
><br>
> I'm new to ovirt. I've created templates in the past using this guide,<br>
> <a href="https://github.com/rharmonson/richtech/wiki/CentOS-7-1511-Minimal-oVirt-Template" rel="noreferrer" target="_blank">https://github.com/rharmonson/<wbr>richtech/wiki/CentOS-7-1511-Mi<wbr>nimal-oVirt-Template</a><br>
> .<br>
><br>
> I was going over the list of features and stumbled on to virt-sysprep.<br>
><br>
> <a href="http://www.ovirt.org/develop/release-management/features/virt-sysprep/" rel="noreferrer" target="_blank">http://www.ovirt.org/develop/r<wbr>elease-management/features/vir<wbr>t-sysprep/</a><br>
><br>
> <a href="http://libguestfs.org/virt-sysprep.1.html" rel="noreferrer" target="_blank">http://libguestfs.org/virt-sys<wbr>prep.1.html</a><br>
><br>
> How can I use virt-sysprep from within ovirt to create templates?<br>
><br>
> Thank you for your help,<br>
><br>
> Joel<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Joel<br>
><br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
><br>
<br>
<br>
<br>
--<br>
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare<br>
calcoli che potrebbero essere affidati a chiunque se si usassero delle<br>
macchine"<br>
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)<br>
<br>
"Internet è la più grande biblioteca del mondo.<br>
Ma il problema è che i libri sono tutti sparsi sul pavimento"<br>
John Allen Paulos, Matematico (1945-vivente)<br>
<br>
Luca 'remix_tj' Lorenzetto, <a href="http://www.remixtj.net" rel="noreferrer" target="_blank">http://www.remixtj.net</a> , <<a href="mailto:lorenzetto.luca@gmail.com" target="_blank">lorenzetto.luca@gmail.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div><br></div></div>
</blockquote></div></div>