History | View | Annotate | Download (2.2 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
Add missing docstrings
Clean-up the code using flake8
Fix pep8 errors
Fixed many `E127 continuation line over-indented for visual indent'errors
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 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.
Capitalize all image metadata keys
Fix license, copyright and pep8 infractions
Detect Kubuntu images
This is done checking an Ubuntu image for the presence ofkubuntu-desktop package.