[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Logging?
- From: Chris Mckenzie <Chris McKenzie entrust com>
- To: "'Discussion list about Kickstart'" <kickstart-list redhat com>
- Subject: RE: Logging?
- Date: Mon, 22 Nov 2004 13:17:25 -0500
Thanks!
-----Original Message-----
From: kickstart-list-bounces redhat com
[mailto:kickstart-list-bounces redhat com] On Behalf Of Chris Adams
Sent: November 22, 2004 1:16 PM
To: 'Discussion list about Kickstart'
Subject: Re: Logging?
Once upon a time, Chris Mckenzie <Chris McKenzie entrust com> said:
> Does anyone have any suggestions on handling kickstart installation
> failure logging? If a kickstart succeeds in installing, I know because
> my post script runs. If it fails, either within the middle of the ks
> process or fails to run my post script, the system will reboot without
> pausing to let me know what the problem was.
I capture the output of my %post script by doing:
%post
cat > /post-install <<EOF
# script goes here
# must change "$" to "\$" and "`" to "\`" to avoid shell quoting
EOF
/bin/bash -x /post-install < /dev/null 2>&1 | tee /post-install.log
It would be nice if there was a %post option to save the output.
--
Chris Adams <cmadams hiwaay net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]