Statistics
| Branch: | Tag: | Revision:

root / image_creator @ c54fc0e8

Name Size
  os_type
__init__.py 2.1 kB
disk.py 7.8 kB
main.py 5.9 kB
util.py 524 Bytes

Latest revisions

# 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

View revisions

Also available in: Atom