RE: logging of the %post section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try this at the beginning.. 

exec > /root/ks-post.log 2>&1

-----Original Message-----
From: James_Martin@xxxxxxxxxxxxxxx [mailto:James_Martin@xxxxxxxxxxxxxxx] 
Sent: Wednesday, March 19, 2003 3:38 PM
To: kickstart-list@xxxxxxxxxx
Subject: logging of the %post section

Is there a simple way to log everything you do in %post to something like
/root/ks-post.log ?

I've tried this:

%post

(
cmd1
cmd2
cmd3
) &>/root/ks-post.log


and it gives me an empty file.. I'm using RHAS 2.1, which is basically RH
7.2

Thanks,

James S. Martin, RHCE
Contractor
Administrative Office of the United Sates Courts
Washington, DC
(202) 502-2394



_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/kickstart-list





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux