Statistics
| Branch: | Tag: | Revision:

root / image_creator / os_type / windows.py @ d4270a48

History | View | Annotate | Download (22.4 kB)

# Date Author Comment
74780ad6 07/30/2013 04:43 pm Nikos Skalkotos

Add support for performing sysprep on windows

In windows the do_sysprep method shuts down the guestfs vm and boots
the image. This allows executing windows commands on the image remotely.

10088af7 07/30/2013 04:43 pm Nikos Skalkotos

Monitor when the windows VM is up and running

b8d4b14a 07/30/2013 04:43 pm Nikos Skalkotos

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

b9e14923 07/30/2013 04:43 pm Nikos Skalkotos

Add various Windows syspreps

c2113d72 07/30/2013 04:43 pm Nikos Skalkotos

Disable the Windows firewall when the syspreps run

811b7149 07/30/2013 04:43 pm Nikos Skalkotos

Add new windows sysprep for disabling hibernation

85e97ae0 07/30/2013 04:43 pm Nikos Skalkotos

Workaround a hivex bug

Reset the LocalAccountTokenFilterPolicy registry key in RunOnce. This
key is set by hivex offline when you boot windows, it seems to have a
wrong value.

2075a76a 07/30/2013 04:43 pm Nikos Skalkotos

Add sysprep in windows to clear the event logs

efa7a61b 07/30/2013 04:43 pm Nikos Skalkotos

Add sysprep for shrinking in windows

It is not ready yet.

d4270a48 07/30/2013 04:43 pm Nikos Skalkotos

Add support for shrinking windows VMs

640096fb 07/30/2013 04:43 pm Nikos Skalkotos

Disable UAC remote restrictions in windows

Before launching the windows image with KVM, disable the UAC remote
restrictions. This is needed to make the image allow executing
command through psexec. After the VM is shut down, the restrictions
are turned back on.

9ca717c4 07/30/2013 04:43 pm Nikos Skalkotos

Add basic support for customizing windows images

Add do_sysprep method for windows that shuts down the guestfs backend
process and starts a new kvm process with the snapshot disk attached to
it.

b8c0848c 06/26/2013 07:20 pm Nikos Skalkotos

Add missing _do_collect_metadata method in Windows

121f3bc0 06/11/2013 05:41 pm Nikos Skalkotos

Code Cleanup

  • Prefix all private methods with _
  • Write missing docstrings
  • Move all public methods above the private ones
  • Add module docstrings where missing
  • Define source code encodings on all modules
76b200cf 06/03/2013 06:19 pm Nikos Skalkotos

Populate the USERS metadata for windows images

For windows images check the appropriate registry keys to find out
the system users

88f83027 03/28/2013 02:26 pm Nikos Skalkotos

Add missing docstrings

61d14323 03/22/2013 02:57 pm Nikos Skalkotos

Clean-up the code using flake8

f165adc0 04/10/2012 04:38 pm Nikos Skalkotos

Add options for enabling/disabling sysprep tasks

Also merge data_cleanup tasks with syspreps and did a major cleanup

0144d7c7 04/05/2012 04:26 pm Nikos Skalkotos

Add exclude_task decorator in os_type

This can be used to create a set of by default disabled data_cleanup
and sysprep tasks.

ae48a082 03/19/2012 12:26 pm Nikos Skalkotos

Fix license, copyright and pep8 infractions

8c574358 02/24/2012 03:29 pm Nikos Skalkotos

Major code revision

  • Add foreach_file function in OSBase. This is used by all cleanup
    methods
  • Add slackware class. This class derives from linux and overwrites the
    log cleanup behaviour. This is needed since slackware stores all
    package management info in /var/log/packages...
aa2062ba 02/20/2012 07:59 pm Nikos Skalkotos

Add OS specific classes