History | View | Annotate | Download (26.2 kB)
Add kms_client_setup sysprep for windows images
This sysprep converts the windows image into a KMS client
Sleep for 10 secs after you monitor Windows is up
When syspreping a Windows image, sleep for 10 seconds before youcontinue performing the various system preparation tasks.
Add support for shrinking windows VMs
Add sysprep for shrinking in windows
It is not ready yet.
Add sysprep in windows to clear the event logs
Workaround a hivex bug
Reset the LocalAccountTokenFilterPolicy registry key in RunOnce. Thiskey is set by hivex offline when you boot windows, it seems to have awrong value.
Add new windows sysprep for disabling hibernation
Disable the Windows firewall when the syspreps run
Add various Windows syspreps
Add the sysprep message printing in the decorator
Since all sysprep functions output a message when they get executed,add the message printing functionality to the sysprep decorator
Monitor when the windows VM is up and running
Add support for performing sysprep on windows
In windows the do_sysprep method shuts down the guestfs vm and bootsthe image. This allows executing windows commands on the image remotely.
Add basic support for customizing windows images
Add do_sysprep method for windows that shuts down the guestfs backendprocess and starts a new kvm process with the snapshot disk attached toit.
Disable UAC remote restrictions in windows
Before launching the windows image with KVM, disable the UAC remoterestrictions. This is needed to make the image allow executingcommand through psexec. After the VM is shut down, the restrictionsare turned back on.
Add missing _do_collect_metadata method in Windows
Code Cleanup
Populate the USERS metadata for windows images
For windows images check the appropriate registry keys to find outthe system users
Add missing docstrings
Clean-up the code using flake8
Add options for enabling/disabling sysprep tasks
Also merge data_cleanup tasks with syspreps and did a major cleanup
Add exclude_task decorator in os_type
This can be used to create a set of by default disabled data_cleanupand sysprep tasks.
Fix license, copyright and pep8 infractions
Major code revision
Add OS specific classes