Don't copy the guestfs handler in the os_type cls
Pass the Image instance to the os_type classes Those classes may need to access more Image data than the guestfs handler and the root device name
Code Cleanup * Prefix all private methods with _ * Write missing docstrings * Move all public methods above the private ones * Add module docstrings where missing * Define source code encodings on all modules
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 instance of one of the output classes.
Remove get_metadata() from os_type classes The metadata are collected in the constructor and are saved in the meta variable. This way they can be accessed and altered by the sysprep methods. There are cases where some metadata are not valid and need to be updated after a sysprep action is performed. For example, remove_user_accounts sysprep action may remove a user that is present in the USERS metadata.
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_cleanup and 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 of kubuntu-desktop package.