[ovirt-users] How to use virt-sysprep
Arik Hadas
ahadas at redhat.com
Fri May 19 17:07:30 UTC 2017
On Fri, May 19, 2017 at 7:22 PM, Joel Diaz <mrjoeldiaz at gmail.com> wrote:
> I ran yum update on my three host and the engine VM so I believe an up to
> date on all the packages. How can I check if I am on version 4.1.2?
>
You can find the engine's version in the 'About' dialog (at the top-right
corner of the screen of the webadmin). If you don't use the
'ovirt-4.1-snapshot' repository then it makes sense that you didn't get
this update yet.
> I restarted the httpd and ovirt-engine service after the updates, but
> still don't the seal option.
>
> Thanks,
>
> On May 19, 2017 11:49 AM, "Arik Hadas" <ahadas at redhat.com> wrote:
>
>
>
> On Fri, May 19, 2017 at 4:10 PM, Joel Diaz <mrjoeldiaz at gmail.com> wrote:
>
>> 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?
>>
>
> No , you're looking at the right place. This feature got in pretty late in
> the release cycle of 4.1, so it is available from 4.1.2. Maybe the version
> you are using is lower than that?
>
>
>>
>> Thanks for the response,
>>
>> On May 18, 2017 12:29 PM, "Arik Hadas" <ahadas at redhat.com> wrote:
>>
>>>
>>>
>>> On Thu, May 18, 2017 at 10:40 AM, Luca 'remix_tj' Lorenzetto <
>>> lorenzetto.luca at 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/mas
>>> ter/src/main/java/services/TemplatesService.java#L168
>>>
>>>
>>>>
>>>> Luca
>>>>
>>>> On Wed, May 17, 2017 at 8:53 PM, Joel Diaz <mrjoeldiaz at 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/vir
>>>> t-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 at 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 at gmail.com>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170519/4aa9c03a/attachment-0001.html>
More information about the Users
mailing list