How to do additional logging in a kickstart installation Red Hat Enterprise Linux?

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content