Dear Wodel Youchi,

Sorry for the delayed response. Answers below.



On Tue, Jul 7, 2020 at 4:17 PM wodel youchi <wodel.you...@gmail.com> wrote:

> Hi,
>
> Could someone give me some help.
>
> Regards.
>
> Le mer. 1 juil. 2020 15:45, wodel youchi <wodel.you...@gmail.com> a
> écrit :
>
>> Hi,
>>
>> I need to create some Windows Templates for my client, and I am not quite
>> familiar with the Windows sysprep installations.
>> I read the "Sealing a Windows Virtual Machine for Deployment as a
>> Template" on the Virtual Machine Management Guide.
>>
>> What I don't understand is the process of sealing a Windows VM.
>>
>> When should I use the /usr/share/ovirt-engine/conf/sysprep/sysprep.*
>> files? at the creation of the VM that will be a template at the end? or at
>> the creation of new VMs based on the template?
>>
>
Sealing the VM is used within the Windows Guest OS via this command:

'C:\Windows\System32\Sysprep\sysprep.exe /oobe /generalize /shutdown'

or

'C:\Windows\System32\sysprep\sysprep.exe' (then: Select 'Enter System
Out-of-Box-Experience (OOBE)' and check the 'Generalize' checkbox)

Once Windows restarts, you should see your configuration applied to the OS.




> When should I use the /etc/ovirt-engine/osinfo.conf.d/xx.files.properties?
>> at the creation of the VM that will be a template at the end? or at the
>> creation of new VMs based on the template?
>>
>
To change any of the properties you may need to.


>
>> What is the difference between : "Use Cloud-Init/Sysprep" in the VM edit
>> window and the RUN Once window?
>>
>
One needs to set the OS properly within the VM New / Edit functionality for
this to work. Then one can choose Cloud-Init/Sysprep and a configuration
such as to set the Time Zone.

If the Guest OS is Windows, then Sysprep is used, if Linux then Cloud Init
is used.


>
>> For me it is not clear, could someone help me to understand.
>>
>> Regards.
>>
>
I hope this helps.

With Best Regards

Steven Rosenberg.

> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/UZ5ZYEXSZIFMH3JI6RGABRYMJIIOFNBD/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4KNQ6FHL2EWPQCO2HMEKPLPVNEOE7OAM/

Reply via email to