Mention command line options at the beginning of installer log
|Assigned To:||Ivan Necas|
|Target version:||Foreman - Team Ivan Iteration 12|
|Velocity based estimate||-|
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1159294
Description of problem:
It is worth listing installer command line options at the beginning of katello-installer.log file, due to two reasons:
1) If installation fails, knowing the options might be crucial to understand what was happening during the installation process.
2) If installation succeeds and Satellite6 is installed, we still know what options were used for the installation (e.g. via foreman-debug) - again very usefull for troubleshooting further problems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run installer with any set of options, e.g.:
katello-installer --reset --capsule-register-in-foreman=false --katello-user=foreman2 --foreman-user-groups=puppet2 --certs-ca-expiration=365000
2. Check katello.installer.log for presence of the options
grep "capsule-register-in-foreman" /var/log/katello-installer/katello-installer.log returns nothing, as well as grep of any other option.
each option provided on cmdline to be printed in katello-installer.log