Correct image size computation
This commit fixes a bug where size method in DiskDevice returned thepayload size of the device one byte shorter than it actually was.
Fix linux sysprep_acpid & remove output indents
Add new-line printing option in printing functions
Beautify program's output.
Fix license, copyright and pep8 infractions
Fix wrong variable name in progress_callback
Create an exception based error reporting system
All modules should use image_creator.FatalError exception to reportfatal errors.
Fix a bug in linux sysprep_* methods
The parameter order when calling guestfs.write was incorrect.
Split DiskDevice constructor in 2 parts
In the constructor only variable initialization is performed. This isneeded because the constructor is executed before the DiskDeviceinstance is appended to the device list, and if something fails there,then the resources may be cleaned up in an incorrect order.
Extend data_cleanup method in unix
Add sysprep method in os_type classes.
This is used to prepare the media for image extraction. The maindifference from data_cleanup is that the tasks performed with thismethod are mandatory in order to make the image workable.
Added the following sysprep methods for linux:...
Add cleanup_cache function in unix
This function will remove regular files under /var/cache
Add remove_persistent_net method in linux.
This will remove the persitent net udev rule.
Add convert_to_persistent_dev method in Linux
This method replaces all non-persistent device appearances in fstab andgrub1 with UUIDs.
Add mail and /var/tmp cleanup for unix systems
Remove python-losetup dependency
The package is buggy and we can use pbs to do the same thing.
Add an extra yield in progress_generator
This is needed to suppress the StopIteration exception
Add progress bar for the guestfs launch method
Add options for image upload/register with kamaki
Not workable. Kamaki is not imported yet.
Handle imported commands that aren't in the PATH
This fixes cases where a normal user tries to execute the program andthe program raises pbs.CommandNotFound exceptions because it tries toimport a command from sbin, which is not in the path.
Fix a bug in get_passworded_users
Add input options and populate image metadata
Hooray! This is the first release that actually works!
Fix minor typos
Document basic classes and methods
Detect Kubuntu images
This is done checking an Ubuntu image for the presence ofkubuntu-desktop package.
Make DiskDevice.shrink() return the new disk size
Major code revision
Fix code for cleanup of image data
Add OS specific classes
Use libguestfs to access the image
Further development
Make the cow file sparseAdd method in Device to list the partitionsAdd a "is bootable" flag in Device constructor
Initial commit