Statistics
| Branch: | Tag: | Revision:

root / image_creator @ c54fc0e8

# Date Author Comment
c54fc0e8 03/16/2012 07:21 pm Nikos Skalkotos

Fix wrong variable name in progress_callback

0ae01e26 03/16/2012 06:14 pm Nikos Skalkotos

Create an exception based error reporting system

All modules should use image_creator.FatalError exception to report
fatal errors.

3d083be5 03/16/2012 05:36 pm Nikos Skalkotos

Fix a bug in linux sysprep_* methods

The parameter order when calling guestfs.write was incorrect.

0db22eac 03/16/2012 05:26 pm Nikos Skalkotos

Split DiskDevice constructor in 2 parts

In the constructor only variable initialization is performed. This is
needed because the constructor is executed before the DiskDevice
instance is appended to the device list, and if something fails there,
then the resources may be cleaned up in an incorrect order.

f8119e65 03/13/2012 06:09 pm Nikos Skalkotos

Extend data_cleanup method in unix

  • Add more userdata to be cleaned
  • Prefix all data_cleanup methods with data_cleanup
9cbb5794 03/13/2012 05:48 pm Nikos Skalkotos

Add sysprep method in os_type classes.

This is used to prepare the media for image extraction. The main
difference from data_cleanup is that the tasks performed with this
method are mandatory in order to make the image workable.

Added the following sysprep methods for linux:...

c16922f7 03/13/2012 12:23 pm Nikos Skalkotos

Add cleanup_cache function in unix

This function will remove regular files under /var/cache

feab499d 03/13/2012 12:17 pm Nikos Skalkotos

Add remove_persistent_net method in linux.

This will remove the persitent net udev rule.

a83f5185 03/12/2012 07:01 pm Nikos Skalkotos

Add convert_to_persistent_dev method in Linux

This method replaces all non-persistent device appearances in fstab and
grub1 with UUIDs.

9297c398 03/11/2012 10:51 pm Nikos Skalkotos

Add mail and /var/tmp cleanup for unix systems

3ccb2618 03/09/2012 05:26 pm Nikos Skalkotos

Remove python-losetup dependency

The package is buggy and we can use pbs to do the same thing.

e7c01d1e 03/08/2012 06:51 pm Nikos Skalkotos

Add an extra yield in progress_generator

This is needed to suppress the StopIteration exception

586da0a0 03/08/2012 05:32 pm Nikos Skalkotos

Add progress bar for the guestfs launch method

1a3f1298 03/08/2012 05:30 pm Nikos Skalkotos

Add options for image upload/register with kamaki

Not workable. Kamaki is not imported yet.

01a7cff3 03/07/2012 05:45 pm Nikos Skalkotos

Handle imported commands that aren't in the PATH

This fixes cases where a normal user tries to execute the program and
the program raises pbs.CommandNotFound exceptions because it tries to
import a command from sbin, which is not in the path.

36e348b6 03/05/2012 04:13 pm Nikos Skalkotos

Fix a bug in get_passworded_users

c408053f 02/29/2012 07:47 pm Nikos Skalkotos

Add input options and populate image metadata

Hooray! This is the first release that actually works!

a1a5ca4b 02/29/2012 02:27 pm Nikos Skalkotos

Fix minor typos

3b2f6619 02/28/2012 10:12 pm Nikos Skalkotos

Document basic classes and methods

486ea6e0 02/28/2012 06:32 pm Nikos Skalkotos

Detect Kubuntu images

This is done checking an Ubuntu image for the presence of
kubuntu-desktop package.

e3aac3f9 02/28/2012 06:26 pm Nikos Skalkotos

Make DiskDevice.shrink() return the new disk size

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...
0d5a999d 02/22/2012 06:22 pm Nikos Skalkotos

Fix code for cleanup of image data

aa2062ba 02/20/2012 07:59 pm Nikos Skalkotos

Add OS specific classes

1377b8a7 02/17/2012 08:30 pm Nikos Skalkotos

Use libguestfs to access the image

333ff548 02/17/2012 11:49 am Nikos Skalkotos

Further development

Make the cow file sparse
Add method in Device to list the partitions
Add a "is bootable" flag in Device constructor

d57775d4 02/15/2012 07:19 pm Nikos Skalkotos

Initial commit