Statistics
| Branch: | Tag: | Revision:

root / image_creator / os_type / windows.py @ 06bfd21a

History | View | Annotate | Download (30.2 kB)

# Date Author Comment
06bfd21a 07/25/2013 07:15 pm Nikos Skalkotos

Don't list disabled users in Windows

Fix _get_users method in windows.py to not list user accounts that
are disabled.

9ab20f07 07/25/2013 01:20 pm Nikos Skalkotos

Fix a bug in windows shrink sysprep

Make sure winexe returns error if a diskpart command fails

0f089865 07/25/2013 01:02 pm Nikos Skalkotos

Add connectivity checks for the windows VM

When booting the windows VM during sysprep, check if winexe works
before starting the system preparation tasks

6342c1ab 07/24/2013 01:01 pm Nikos Skalkotos

Monitor VM ps when waiting for windows booting

When waiting for windows to boot, also check that the Windows VM
process is up.

63af9c37 07/24/2013 12:30 pm Nikos Skalkotos

Add a new winexe module

This contains a wrapper class for winexe utility

b1d55773 07/24/2013 08:45 am Nikos Skalkotos

Mix minor typos

69ed7ed6 07/23/2013 03:08 pm Nikos Skalkotos

Use --uninstall in winexe

53e791bf 07/23/2013 12:23 pm Nikos Skalkotos

Add kms_client_setup sysprep for windows images

This sysprep converts the windows image into a KMS client

c6b84dc4 07/22/2013 05:05 pm Nikos Skalkotos

Sleep for 10 secs after you monitor Windows is up

When syspreping a Windows image, sleep for 10 seconds before you
continue performing the various system preparation tasks.

e773df24 07/22/2013 03:42 pm Nikos Skalkotos

Add support for shrinking windows VMs

670ea7e3 07/19/2013 07:36 pm Nikos Skalkotos

Add sysprep for shrinking in windows

It is not ready yet.

9703f342 07/11/2013 10:16 am Nikos Skalkotos

Add sysprep in windows to clear the event logs

28d354ce 07/10/2013 03:22 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.

38cf4599 07/10/2013 10:27 am Nikos Skalkotos

Add new windows sysprep for disabling hibernation

010f6b30 07/09/2013 03:48 pm Nikos Skalkotos

Disable the Windows firewall when the syspreps run

32e21ab7 07/08/2013 01:21 pm Nikos Skalkotos

Add various Windows syspreps

173022fb 07/07/2013 04:16 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

0db17fcf 07/05/2013 04:33 pm Nikos Skalkotos

Monitor when the windows VM is up and running

12c97404 07/04/2013 02:59 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.

c50c5ae7 07/01/2013 01:50 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.

55133880 06/28/2013 12:46 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.

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