1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/virt-specializing-windows-sysprep.adoc
2022-02-24 17:55:40 +00:00

24 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * virt/virtual_machines/virt-automating-windows-sysprep.adoc
:_content-type: PROCEDURE
[id="virt-specializing-windows-sysprep_{context}"]
= Specializing a Windows VM
Specializing a virtual machine configures the computer-specific information from the image onto the VM.
[IMPORTANT]
====
You must generalize the root disk before specializing the virtual machine.
====
.Procedure
. Use the {VirtProductName} web console VM wizard to create a new Windows VM.
. When selecting the `Boot Source`, choose `Clone existing PVC`, and clone the PVC from the initial VM root disk.
. Click *Customize virtual machine* -> *Advanced*
. Under *Sysprep*, specify the `unattend.xml` answer file settings following link:https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/update-windows-settings-and-scripts-create-your-own-answer-file-sxs[Microsoft guidelines].
. Add filler information to the `autounattend.xml` answer file settings.
. Start the VM. On first boot, Windows will use the `unattend.xml` answer file to specialize the VM. The VM is now ready to use.