preupg-content-creator(1)

NAME
preupg-content-creator - Preupgrade assistant provides this script for faster creation of content

AVAILABLE FUNCTIONS
API provides a set of functions which can be used for better handling of your data. check_applies_to - Function can be used for specific RPM package detection. If the RPM package does not exists then check script exit with exit_not_applicable return code. check_root - Function checks whether user is root. solution_file - Function adds a message to solution file defined in INI file. backup_config_file - Function backups a config file to /root/preupgrade directory. service_is_enabled - Function checks if service provided by command chkconfig is enabled.

HOW TO TEST CONTENT
For testing your content on system follow these steps: 1. Execute preupg-create-group-xml command which checks whether your content is properly created and nothing is missing. preupg-create-group-xml contents/[Migration_path]/[content_dir]/ 2. The command preupg-create-group-xml creates XML file in contents/[Migration_path]-results/[content_dir]/all_xccdf.xml 3. Execute preupg binary as a root user: preupg -c contents/[Migration_path]/[content_dir]/

AUTHORS
Petr Hracek, <phracek@redhat.com> (man page)