Statistics
| Branch: | Tag: | Revision:

root / image_creator / disk.py @ 40e7a487

History | View | Annotate | Download (11.5 kB)

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

979096dd 03/24/2012 02:54 pm Nikos Skalkotos

Add silent mode option

All printing had to be reordered and now it is done from a central point.

d603d80d 03/23/2012 07:16 pm Nikos Skalkotos

Move image_extract method into DiskDevice

13675429 03/21/2012 08:35 pm Nikos Skalkotos

Correct image size computation

This commit fixes a bug where size method in DiskDevice returned the
payload size of the device one byte shorter than it actually was.

3f70f242 03/21/2012 08:14 pm Nikos Skalkotos

Fix linux sysprep_acpid & remove output indents

22a6d232 03/20/2012 06:04 pm Nikos Skalkotos

Beautify program's output.

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

Fix license, copyright and pep8 infractions

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.

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.

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

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.

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

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