Statistics
| Branch: | Tag: | Revision:

root / image_creator @ 6342c1ab

# Date Author Comment
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.

020b738b 07/19/2013 04:48 pm Nikos Skalkotos

Make sysprep_info return a named tuple

It used to return a tuple

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.

577d605d 07/10/2013 10:58 am Nikos Skalkotos

Add kwargs parameter to sysprep decorator

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

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.

d9aff2ae 07/04/2013 11:01 am Nikos Skalkotos

Add option for printing the needed sysprep params

d415dda2 07/03/2013 04:28 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.

92a6ff01 07/03/2013 10:13 am 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

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.

0c505946 06/28/2013 04:14 pm Nikos Skalkotos

Pass the Image instance to the os_type classes

Those classes may need to access more Image data than the guestfs
handler and the root device name

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.

57e98b60 06/26/2013 08:18 pm Nikos Skalkotos

Merge branch 'develop' into feature-windows-support

bda5233f 06/26/2013 08:10 pm Nikos Skalkotos

Bump version to 0.4.1next

ae887b57 06/26/2013 08:09 pm Nikos Skalkotos

Merge branch 'hotfix-0.4.1' into develop

Conflicts:
image_creator/version.py
version

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

Add missing _do_collect_metadata method in Windows

48511209 06/26/2013 07:09 pm Nikos Skalkotos

Fix an missing func error introduced in e1c0be0296

b6765b7e 06/25/2013 06:25 pm Nikos Skalkotos

Always close fds returned by tempfile.mkstemp()

e1c0be02 06/25/2013 04:27 pm Nikos Skalkotos

Add check_guestfs_version function

This function is used to check if a specified libguestfs version is
smaller, greater or equal to the installed one

67b70375 06/25/2013 11:31 am Nikos Skalkotos

Bump development version to 0.4next

b9a8a121 06/21/2013 03:48 pm Nikos Skalkotos

Bump version to 0.4

ffc64d7c 06/20/2013 05:35 pm Nikos Skalkotos

Remove all referencies to words like ~okeanos

In the documentation and the printed messages, remove all references
to ~okeanos, pithos or cyclades.

8d66cd4c 06/20/2013 01:06 pm Nikos Skalkotos

Minor cleanup in dialog_wizard

  • Move all common WizardPage variables to the base class
  • Give more sensible names to some variables
  • Make Wizard compute the title for all WizardPages
5a380da9 06/19/2013 04:38 pm Nikos Skalkotos

Create a new cloud wizard page

Make the cloud selection wizard page an instance of WizardMenuPage

8e58e699 06/18/2013 06:59 pm Nikos Skalkotos

Change the metadata file format to json

When registring an image, use the information returned by the
kamaki register method to construct the metadata file.

When dumping the image to the local filesystem, store the image
properties and the disk-format info in the metadata file.

b3a4845c 06/18/2013 05:21 pm Nikos Skalkotos

Add --cloud option in snf-image-creator

This options can be used to get the authentication URL and token
from a saved cloud section in the kamaki configuration file

49c07ce3 06/18/2013 04:27 pm Nikos Skalkotos

Comply with kamaki 0.9

  • Change the authentication everywhere to use clouds
    (authentication URL and token pairs)
  • Add menu entries to manage clouds
  • Add an extra -a option in snf-image-creator to allow the user to
    specify authentication URLs
a26ae008 06/15/2013 09:59 pm Nikos Skalkotos

Monkey-patch pythondialog to support form boxes

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
71b0ab28 06/07/2013 03:24 pm Nikos Skalkotos

Move mount/umount from image to os_type module

bf3a282c 06/06/2013 01:09 pm Nikos Skalkotos

Bump version to 0.3next

9c060ab0 06/06/2013 01:02 pm Nikos Skalkotos

Merge branch 'master' into develop

5b2ee8c2 06/06/2013 01:01 pm Nikos Skalkotos

Make use of devflow building system

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

ef30380d 05/27/2013 03:20 pm Nikos Skalkotos

Bump version to 0.3

3afe6b44 05/27/2013 01:08 pm Nikos Skalkotos

Share the md5sum and meta file if image is public

If the image gets registered as public allow anyone to read the
metadata and the md5sum file.

03eb7dc8 05/24/2013 02:20 pm Nikos Skalkotos

Check if remote files exist before uploading

Before uploading to pithos, check if any remote file gets
overwritten.

a0909794 05/23/2013 04:57 pm Nikos Skalkotos

In cleanup_mail sysprep check if mail dirs exist

Check if /var/spool/mail exists before trying to remove the content
of the directory.

fa65eda1 05/23/2013 04:52 pm Nikos Skalkotos

Monitor executed syspreps in os_type/__init__.py

Syspreps that have already been executed shouldn't get returned by
list_syspreps

f9153c84 05/23/2013 02:19 pm Nikos Skalkotos

Fix an some error messages in snf-image-creator

e56edd29 05/22/2013 02:12 pm Nikos Skalkotos

Add cleanup_password sysprep for freebsd

d8a12a7e 05/21/2013 05:08 pm Nikos Skalkotos

Copy OSFAMILY to OS property if distro is unknown

If libguestfs's inspect_get_distro returns "unknown", then use the
OSFAMILY image property value as OS value.

6d7f7fce 05/21/2013 05:06 pm Nikos Skalkotos

Beautify FreeBSD description returned by guestfs

c71133ce 05/21/2013 02:37 pm Nikos Skalkotos

Minor warning message change

9fe161f8 05/21/2013 02:35 pm Nikos Skalkotos

Monitor passworded users in FreeBSD

6df939f7 05/21/2013 10:47 am Nikos Skalkotos

In cleanup_userdata sysprep check if /home exists

35b13de5 05/20/2013 10:39 am Nikos Skalkotos

Fix minor pep8 errors

39b0429a 05/17/2013 04:27 pm Nikos Skalkotos

Use OS as img name in wizard if distro is unknown

84bc469c 05/17/2013 04:11 pm Nikos Skalkotos

Don't execute syspreps if the fs is not mounted rw

Check if the filesystem is mounted read-write before you execute
the do_sysprep function

29fd973e 05/17/2013 02:04 pm Nikos Skalkotos

Support mounting freebsd ufs filesystems

UFS2 filesystems don't get automatically detected by the linux
kernel. We need to explicitly state the correct filesystem type
and options

f564c1ff 05/01/2013 08:36 pm Nikos Skalkotos

Bump version to 0.2.10

81a63274 05/01/2013 08:02 pm Nikos Skalkotos

Add acl & user_xattr mount options if needed

In bundling host make sure that the default mount options are enabled
in the newly created file system.

76e7b01b 04/25/2013 05:03 pm Nikos Skalkotos

Bump version to 0.2.9

ee0719db 04/25/2013 04:39 pm Nikos Skalkotos

Support kamaki 0.8

In kamaki 0.8 `store' command is replaced with `file' and `astakos' is
replaced with `user'.

80411610 04/25/2013 04:21 pm Nikos Skalkotos

Handle better images with distro="unknown"

If the ostype returned by libguestfs is valid and distro in unknown,
don't print the distro at all.

2dcd42b7 04/25/2013 01:49 pm Nikos Skalkotos

Move linux specific code from unix.py to linux.py

c78ac789 04/25/2013 01:40 pm Nikos Skalkotos

Fix 2 obsolete comments

3f2ae845 04/25/2013 12:53 pm Nikos Skalkotos

Fix typo in sh.CommandNotFound exception

2eb7dff0 03/28/2013 05:35 pm Nikos Skalkotos

Bump version to 0.2.8

e9a2d318 03/28/2013 05:30 pm Nikos Skalkotos

Change a ValueError exception to FatalError

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

Add missing docstrings

f5174d2c 03/26/2013 06:28 pm Nikos Skalkotos

Rename DiskDevice class to Image

Rename DiskDevice class to Image and move it to a seperate module.
Also, don't let the user access the os_type/* modules directly. In
Image class create the `os' member variable that will host an
appropriate instance of one of the OSBase classes.

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

Clean-up the code using flake8

76f42c27 03/22/2013 12:43 pm Nikos Skalkotos

Fix an undefined variable bug

Variable d in function valideate_account was undefined

fab154f0 03/21/2013 03:46 pm Nikos Skalkotos

Bump version to 0.2.7

dd22ce7b 03/21/2013 03:44 pm Nikos Skalkotos

Fix a bug in the way rsync copies files

The exclude patterns were wrong and they excluded more files than
they should.

c2cf27e8 03/21/2013 12:19 pm Nikos Skalkotos

Don't check the token if -t is not defined

aa486e93 03/20/2013 06:11 pm Nikos Skalkotos

Fix syntax errors

36a308e8 03/19/2013 08:40 pm Nikos Skalkotos

Bump version to 0.2.6

41bf4a8f 03/19/2013 08:03 pm Nikos Skalkotos

Fix a bug in bundle host

In the bundled image /tmp and /var/tmp file mode bits ended up being
wrong.

92bfe974 03/19/2013 05:20 pm Nikos Skalkotos

Bump version to 0.2.5

aa04fb4e 03/19/2013 05:17 pm Nikos Skalkotos

In the main menu add action for the help button

Display the online documentation url

66719e36 03/19/2013 01:19 pm Nikos Skalkotos

Minor code and messages cleanup

769526cb 03/19/2013 12:13 pm Nikos Skalkotos

Fix a bug in wizard introduced in 37d581b868919aae

baa62724 03/18/2013 03:20 am Nikos Skalkotos

Display gathered info in wizard's confirmation box

37d581b8 03/18/2013 12:13 am Nikos Skalkotos

Support private images

Support images that can only be deployed by the user that registers
the image to cyclades

fd9af948 03/16/2013 02:53 pm Nikos Skalkotos

Fix minor typos

31160dc8 03/14/2013 03:47 pm Nikos Skalkotos

Use only the token to authenticate to synnefo

You don't need the account name. You can fetch it from astakos using
the authentication token.

bc9d122f 03/13/2013 02:46 pm Nikos Skalkotos

Fix small typo

495a0d12 03/12/2013 11:57 am Nikos Skalkotos

Fix some typos in configuration_tasks help file

Credits go to Konstantinos Tompoulidis <>

56884b64 03/06/2013 01:44 pm Nikos Skalkotos

Bump version to 0.2.4

6f9e1534 03/06/2013 01:38 pm Nikos Skalkotos

Use user id to authenticate with synnefo

Latest versions of synnefo require user id instead of e-mail to
authenticate.

8ec4da46 03/06/2013 01:03 pm Nikos Skalkotos

Enforce raw img format in libguestfs

Don't let libguestfs guess the format of the provided image. Enforce
it to treat the image as raw.

84e3cd34 01/30/2013 01:53 pm Nikos Skalkotos

Bump version to 0.2.3

c631f3e4 01/29/2013 06:33 pm Nikos Skalkotos

In bundle_volume keep partition starting points

When shrinking partitions, make sure that the shrinked partitions
always starts from the sector the initial partition started. Changing
this may destroy the boot loader.

10a5c2bf 01/29/2013 04:00 pm Nikos Skalkotos

In bundle_volume print msg when cloning partitions

b0376b3f 01/29/2013 03:27 pm Nikos Skalkotos

Add support for gpt partitions in bundle_volume

eb07a85f 01/27/2013 08:06 pm Nikos Skalkotos

Don't call parted.Device.destroy()

It behaves different in different pyparted versions and only causes
problems. Let python do the garbage-collection...