History | View | Annotate | Download (12.6 kB)
Pass the Image instance to the os_type classes
Those classes may need to access more Image data than the guestfshandler and the root device name
Code Cleanup
Move mount/umount from image to os_type module
Move linux specific code from unix.py to linux.py
Add missing docstrings
Fix various typos, add .gitignore file
Fix various typos in messages, add .gitignore file forautomatically produced intermediate files.
Fix fix_acpid syspep
Extend the mechanism to recognise events with value "button/power.*" as power button events. It used to only check for events with value"button[ /]power".
Fix pep8 errors
Fixed many `E127 continuation line over-indented for visual indent'errors
Fix a warning message in linux fix_acpid sysprep
Use vfs_uuid instead of blkid to compute uuid
vfs_uuid is more suitable for this and it whas added before blkidin guestfs, hence it is supported in more guestfs versions.
In linux.py make sysprep names for descriptive
Unify output by creating a seperated output module
All image-creator components now output messages using an instanceof one of the output classes.
Add remove_swap_entry sysprep in linux
This action will remove the swap entry from the fstab.
Add options for enabling/disabling sysprep tasks
Also merge data_cleanup tasks with syspreps and did a major cleanup
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
Fix sysprep_acpid method in linux.
Commit 3f70f24 introduced a bug where the event file was overwritteninstead of the action file.
Fix linux sysprep_acpid & remove output indents
Beautify program's output.
Fix license, copyright and pep8 infractions
Fix a bug in linux sysprep_* methods
The parameter order when calling guestfs.write was incorrect.
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 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.
Major code revision
Add OS specific classes