How to do additional logging in a kickstart installation Red Hat Enterprise Linux?
Issue
- How to get additional logging done in kickstart apart from including the below directives in the kickstart file ?
%pre --log=/tmp/pre.log%post --nochroot --log=/mnt/sysimage/root/post.log
- The above directives will only log errors if it happens, and are there any ways to get the extended logging regardless of a sucessfull or failed installation ?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Note: Versions of Red Hat Enterprise Linux before 5.5 do not log relative to the system image for %pre and %post scripts. For additional information, please see Bug #568861.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.