History | View | Annotate | Download (4.8 kB)
Add .{,z}sh_history in the sensitive user data
In _foreach_file check if the directory exists
Otherwise print a warning.
Don't copy the guestfs handler in the os_type cls
Merge branch 'hotfix-0.4.4' into develop
Conflicts: image_creator/os_type/unix.py image_creator/version.py version
Check if scrubbing is supported
Don't try to scrub data unless the used guestfs appliance supportsit
Add the sysprep message printing in the decorator
Since all sysprep functions output a message when they get executed,add the message printing functionality to the sysprep decorator
Fix small bugs and clean up the code
Fix some bugs and some other coding issues found using pylint
Code Cleanup
Move mount/umount from image to os_type module
In cleanup_mail sysprep check if mail dirs exist
Check if /var/spool/mail exists before trying to remove the contentof the directory.
In cleanup_userdata sysprep check if /home exists
Move linux specific code from unix.py to linux.py
Add missing docstrings
Clean-up the code using flake8
Treat kamaki config files as sensitive data
When cleaning up sensive user data on unix systems, remove .kamakircand .kamaki.history too.
Fix cleanup_userdata sysprep
The function used to ignore directories when cleaning sensitive data
Fix minor pep8 error
Do not allow empty USERS metadata fields
If snf-image-creator does not find any passworded user, then theUSERS metadata field is not created at all.
Fix pep8 errors
Fixed many `E127 continuation line over-indented for visual indent'errors
Fix a bug in _get_passworded_users method in Unix
The method used a wrong warning output function
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...
Improve help msg for remove-user-accounts sysprep
Add options for enabling/disabling sysprep tasks
Also merge data_cleanup tasks with syspreps and did a major cleanup
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.
Fix linux sysprep_acpid & remove output indents
Beautify program's output.
Fix license, copyright and pep8 infractions
Extend data_cleanup method in unix
Add cleanup_cache function in unix
This function will remove regular files under /var/cache
Add mail and /var/tmp cleanup for unix systems
Fix a bug in get_passworded_users
Major code revision
Fix code for cleanup of image data
Add OS specific classes