Statistics
| Branch: | Tag: | Revision:

root @ 0373cf68

# Date Author Comment
0373cf68 01/08/2014 01:40 pm Nikos Skalkotos

Bump version to 0.6-1~wheezy

Signed-off-by: Nikos Skalkotos <>

038ff2b2 01/08/2014 01:40 pm Nikos Skalkotos

Merge branch 'master' into debian-wheezy

e15f7ba8 01/08/2014 01:37 pm Nikos Skalkotos

Remove XSBC-Original-Maintainer field

This is an Ubuntu field and is useless in debian packages

94db968f 01/08/2014 01:00 pm Nikos Skalkotos

Update version and ChangeLog for 0.6

37d1ea11 01/08/2014 12:33 pm Nikos Skalkotos

Merge branch 'develop'

93e56bf6 01/08/2014 12:00 pm Nikos Skalkotos

Fix typos in windows.py

89efe927 01/08/2014 11:52 am Nikos Skalkotos

Fix a bug in InfoBoxOutput class

If the text was more lines that the height of the active region in the dialog
the 2 last lines were not displayed.

4f08cd0b 01/08/2014 10:19 am Nikos Skalkotos

Add extra `smp' & `mem' sysprep params in Windows

Those parameter can be used to control how many CPUs and how much RAM
the Windows VM should have during the configuration

d363a1d7 01/07/2014 01:47 pm Nikos Skalkotos

docs: Fix a sphinx warning when creating man pages

3e131a2a 01/07/2014 12:41 pm Nikos Skalkotos

Update snf-mkimage man page

Add missing input options

ebe0f1e0 01/07/2014 11:18 am Nikos Skalkotos

Switch names btw snf-image-creator & snf-mkimage

Make snf-image-creator be the dialog-based program and snf-mkimage be
the command line one.

9b2b47ae 01/06/2014 07:35 pm Nikos Skalkotos

Make winexe an optional dependency

Check the presence of the winexe executable at runtime only if the
input media is a Windows system

0f0137fc 12/19/2013 10:41 am Nikos Skalkotos

Fix windows filesystem shrink

Make it work with Windows Server 2012 R2. The format of
shrink querymax command has changed.

f63e359f 12/18/2013 02:10 pm Nikos Skalkotos

Add KMS Client Setup Keys for new windows systems

Add KMS client setup keys for Windows Server 2012 R2 and Windows 8.1

9b49a63b 12/18/2013 01:27 pm Nikos Skalkotos

Fix type in a windows error message

7b626c6b 11/01/2013 11:03 am Nikos Skalkotos

Remove backup file for shadow

In Linux when clearing out the account, remove the backup file:
/etc/shadow-

fb136c1c 11/01/2013 10:55 am Nikos Skalkotos

Fix typo in comment

6b7eb528 10/23/2013 04:51 pm Nikos Skalkotos

Change the dialog inputbox of register to form

This allows us to add a Description field in register. This can be
used to update the DESCRIPTION image property

5a33a51f 10/22/2013 12:23 pm Nikos Skalkotos

Rename diagnose to inspect

d0daafa2 10/16/2013 04:46 pm Nikos Skalkotos

Add diagnose() method in OSBase derived classes

This can be used to perform various tests to determine if the media
is supported.

e482b7f9 10/11/2013 06:02 pm Nikos Skalkotos

Allow image creation from unsupported media

Add a new "Unsupported" os_type class. Images that get created from
unsupported media have the EXCLUDE_ALL_TASKS property enabled.

920c6c7a 10/10/2013 04:48 pm Nikos Skalkotos

Merge branch 'hotfix-0.5.3' into develop

Conflicts:
image_creator/version.py
version

c2278c92 10/10/2013 12:47 pm Nikos Skalkotos

Bump version to 0.5.3-1~wheezy

Signed-off-by: Nikos Skalkotos <>

3505c6fc 10/10/2013 12:47 pm Nikos Skalkotos

Merge branch 'master' into debian-wheezy

9afcc8c9 10/09/2013 06:06 pm Nikos Skalkotos

Merge branch 'hotfix-0.5.3'

30ba0945 10/09/2013 06:06 pm Nikos Skalkotos

Update version.py and ChangeLog for 0.5.3

dc0ecb29 10/09/2013 05:48 pm Nikos Skalkotos

docs: "Create a new image" example runs in Wheezy

Make sure to state that the host system in the "Create a new image"
example is a Debian Wheezy system. Most of the things work in every
distro, but some commands (e.g. kvm) may have a different name or
a slightly different functionality.

6ca82c22 10/09/2013 04:44 pm Nikos Skalkotos

Fix a crash in dialog menu

The program would crash if no image properties were available and
the user chose "Edit properties" or "Delete Properties" in the
customization menu

0fe2b876 10/09/2013 04:44 pm Nikos Skalkotos

Bump version to 0.5.3

2a62304a 09/24/2013 03:28 pm Nikos Skalkotos

Protect the sh variables with " in the ci scripts

6b81adfd 09/09/2013 11:09 am Nikos Skalkotos

Merge branch 'hotfix-0.5.2' into develop

Conflicts:
image_creator/version.py
version

d3e8408d 09/09/2013 11:05 am Nikos Skalkotos

Merge branch 'hotfix-0.5.2'

f97dbc42 09/09/2013 11:04 am Nikos Skalkotos

Update version.py and ChangeLog

97a59b7f 09/02/2013 10:42 am Nikos Skalkotos

Fix the magic number in the ci scripts

95b1e50f 09/02/2013 10:42 am Nikos Skalkotos

Bump version 0.5.2

694ca1e9 08/23/2013 05:20 pm Nikos Skalkotos

Update version to 0.5.1next

7b93cb76 08/23/2013 05:17 pm Nikos Skalkotos

Merge branch 'hotfix-0.5.1' into develop

be997992 08/23/2013 05:17 pm Nikos Skalkotos

Merge branch 'hotfix-0.5.1'

186757a1 08/23/2013 05:00 pm Nikos Skalkotos

Bump version to 0.5.1-1~wheezy

Signed-off-by: Nikos Skalkotos <>

eee82c44 08/23/2013 05:00 pm Nikos Skalkotos

Merge branch 'hotfix-0.5.1' into debian-wheezy

cce32fea 08/23/2013 04:47 pm Nikos Skalkotos

Update ChangeLog and version.py for 0.5.1

b25b422b 08/23/2013 04:25 pm Nikos Skalkotos

Fix a KeyError bug in dialog_wizard.py

effda5db 08/23/2013 04:24 pm Nikos Skalkotos

Extend the allowed cloud name characters

Allow the characters that kamaki allows

f5634b9a 08/22/2013 04:46 pm Nikos Skalkotos

Use forceall in e2fsck if available

Before shrinking a filesystem use the e2fsck -y if the underlined
guestfs library supports it.

a38447ba 08/22/2013 04:26 pm Nikos Skalkotos

In _foreach_file check if the directory exists

Otherwise print a warning.

6a7a5d4e 08/22/2013 03:28 pm Nikos Skalkotos

Bump version to 0.5.1

15bc03a8 08/22/2013 01:05 pm Nikos Skalkotos

Bump version to 0.5-1~wheezy

Signed-off-by: Nikos Skalkotos <>

07ef93e1 08/22/2013 01:05 pm Nikos Skalkotos

Merge branch 'master' into debian-wheezy

6a523584 08/22/2013 12:50 pm Nikos Skalkotos

Add extra qemu-kvm and winexe dependency

230f03ca 08/04/2013 09:43 pm Nikos Skalkotos

Update ChangeLog and version for 0.5

50795600 08/04/2013 09:10 pm Nikos Skalkotos

Merge branch 'develop'

9228aff8 08/04/2013 06:10 pm Nikos Skalkotos

Update documentation to reflect the changes made

981b4504 08/04/2013 04:12 pm Nikos Skalkotos

Fix version check introduced in aca3e6508c7ae3f5ee

The fix was backported to version 1.16.11

419c8d7b 08/03/2013 04:14 pm Nikos Skalkotos

Fix a typo in one of the input options

--print-sysprep should be --print-syspreps

5756c277 08/03/2013 04:05 pm Nikos Skalkotos

Convert check_guestfs_version into an Image method

It used to be a function in util module

0611e6dd 08/03/2013 04:00 pm Nikos Skalkotos

Fix multiple bugs in util.get_kvm_binary

The machine hardware name fetched by `uname m' should have been
stripped, and a --enable-kvm option should be added if the returned
executable was qemu-system
<arch>

df36e2a4 08/02/2013 03:40 pm Nikos Skalkotos

Print a meaningful msg if windows shrinking fails

aca3e650 08/02/2013 01:44 pm Nikos Skalkotos

Raise FatalError for guestfs < 1.17.18 in windows

If the media is windows and guestfs version is less than 1.17.18
raise a Fatal Error. The versions below this have a bug and
inspect_os will fail if the HKLM\SYSTEM\MountedDevices registry key
is missing. This key gets deleted by Microsoft Sysprep

bbfcaef1 08/01/2013 12:56 pm Nikos Skalkotos

Workaraound the old behaviour of kill_subprocess

Before libguestfs 1.18.4 you cannot shutdown the backend and then
relaunch it

ec8b2a79 08/01/2013 12:26 pm Nikos Skalkotos

Add {enable, disable}_guestfs methods in image cls

b932f59d 08/01/2013 11:12 am Nikos Skalkotos

Fix a typo in a variable name

091c0335 08/01/2013 11:10 am Nikos Skalkotos

Don't copy the guestfs handler in the os_type cls

6f391961 07/31/2013 03:53 pm Nikos Skalkotos

Merge branch 'hotfix-0.4.4' into develop

Conflicts:
image_creator/os_type/unix.py
image_creator/version.py
version

1cd84cb6 07/31/2013 03:49 pm Nikos Skalkotos

Merge branch 'hotfix-0.4.4'

3784c7c1 07/31/2013 02:51 pm Nikos Skalkotos

Update ChangeLog and version.py for release 4.4.4

ce66ae38 07/31/2013 01:33 pm Nikos Skalkotos

Check if scrubbing is supported

Don't try to scrub data unless the used guestfs appliance supports
it

ab694a5e 07/31/2013 12:42 pm Nikos Skalkotos

Bump version to 0.4.4

c5effe03 07/30/2013 05:40 pm Nikos Skalkotos

Ignore the absence pagefile.sys in windows

3f97df32 07/30/2013 04:44 pm Nikos Skalkotos

Merge branch 'feature-windows-support' into develop

f584265d 07/30/2013 04:44 pm Nikos Skalkotos

Fix the sysprep_param interface in expert mode

Group the system preparation tasks to simple and advanced.

4246a133 07/30/2013 04:44 pm Nikos Skalkotos

Add a function for finding out the kvm binary

On some systems it is kvm, on some others it is qemu-system-x86_64. On
32bit PC it is qemu-system-i386

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

Remove bootable options from image class

It has never been used. If we need it in the future, we will bring
it back

0eac0256 07/30/2013 04:43 pm Nikos Skalkotos

Add support for sysprep-parameters

The user may define parameters needed by the os_type classes to perform
the system preparation tasks.

A new needed_sysprep_params method is added to os_type.OSBase that
returns a list with parameters that should be defined by the user.

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

Add option for printing the needed sysprep params

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

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

Add kwargs parameter to sysprep decorator

This can be used to add arbitrary attributes to the function it
decorates

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

17649dd6 07/30/2013 04:43 pm Nikos Skalkotos

Make sysprep_info return a named tuple

It used to return a tuple

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

76f2ae77 07/30/2013 04:43 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.

684a5524 07/30/2013 04:43 pm Nikos Skalkotos

Add kms_client_setup sysprep for windows images

This sysprep converts the windows image into a KMS client

7dc92081 07/30/2013 04:43 pm Nikos Skalkotos

Use --uninstall in winexe

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

Mix minor typos

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

Add a new winexe module

This contains a wrapper class for winexe utility

520d991d 07/30/2013 04:43 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.

8bae613f 07/30/2013 04:43 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

23c82433 07/30/2013 04:43 pm Nikos Skalkotos

Fix a bug in windows shrink sysprep

Make sure winexe returns error if a diskpart command fails

759e5d5b 07/30/2013 04:43 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.

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

Add decorators defining sysprep params

47505e53 07/30/2013 04:43 pm Nikos Skalkotos

Fix small bugs and clean up the code

Fix some bugs and some other coding issues found using pylint

678b382b 07/30/2013 04:43 pm Nikos Skalkotos

Add type field in the SysprepParam namedtuple

This is needed since the input we get from the input dialogs is
always strings.

82e8c357 07/30/2013 04:43 pm Nikos Skalkotos

In windows.py turn some constants to syspep params

Remove constants BOOT_TIMEOUT, SHUTDOWN_TIMEOUT and CONNECTION_RETRIES
and add then as sysprep_parameters

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.