Print an extra space when new_line=False
Add size param in the Output.Progress constructor
Disable recovery proc if libguestfs ver < 1.17.14
In older versions of libguestfs, the recovery process did not closethe file descriptors it inherited. This could case problems if theparent process had open pipes.
Make progress class contain and Ouput instance
This is handy because now progress class can print using the outputmethods of it's output class
Fix copyright date in main.py
Check if stdout is a tty
If not then don't output progressbars and colors
Fix a bug in Output.progress_generator
The progress bar of the progress generator had a wrong max attribute.
Unify output by creating a seperated output module
All image-creator components now output messages using an instanceof one of the output classes.
Remove get_metadata() from os_type classes
The metadata are collected in the constructor and are saved in themeta variable. This way they can be accessed and altered by thesysprep methods. There are cases where some metadata are not validand need to be updated after a sysprep action is performed. For...
Add option for passing user-defined image metadata
The metadata passed by the user will overwrite any automaticallycollected metadata with the same key.
Add remove_swap_entry sysprep in linux
This action will remove the swap entry from the fstab.
Remove the swap partition when shrinking
If the swap partition is the last partition in the media, then it canbe safely removed. The image-creator will save enough info in theSWAP metadata to recreate it.
Move get_os_class from image_creator to os_type
This is needed because otherwise setup.py fails on some systems. Alsodo some more cleanup.
Fix a bug introduced in commit e108efd285b34d5a28e
Not all needed code parts where updated when the size() method inDiskDevice class was abandoned in favor of the size attribute.
Cleanup code in disk module
Cleanup code & add comments in gpt module
Add support for GUID Partition Tables
Add new line in metadata and md5sum string
Unify the output of progress bars
Minor cleanup (typos, comments, etc)
Switch to ansicolor for coloring & fix pep8 errors
Use progress for progress bar & implement register
Fix pep8 errors
Add progress bar in pithos upload & compute md5sum
Seperate snapshoting from get_device in Disk class
Fix image upload
Also rearrange input options
Improve help msg for remove-user-accounts sysprep
Make -u and -r input options require an argument
Fix typos in var names
Add a wrapper module for kamaki
This is just a template. Not fully workable
Add options for enabling/disabling sysprep tasks
Also merge data_cleanup tasks with syspreps and did a major cleanup
Add options for printing sysprep and data cleanup
Add --print-data-cleanup and --print sysprep input options. If enabledthe program will output what data cleanup and syspep operations willand won't run a a selected input media
Fix pep8 error
Add cleanup method that removes user accounts
This method will remove all users that have id over 1000. In mostsystems this will remove all normal user accounts besides the firstone. This method will not run by default.
Add cleanup method that locks all user accounts
Add exclude_task decorator in os_type
This can be used to create a set of by default disabled data_cleanupand sysprep tasks.
Add silent mode option
All printing had to be reordered and now it is done from a central point.
Add a new line the end of the acpid action script
Capitalize all image metadata keys
Fix cli options help messages
Move image_extract method into DiskDevice
Fix sysprep_acpid method in linux.
Commit 3f70f24 introduced a bug where the event file was overwritteninstead of the action file.
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