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

Re: problem with %post commands`




Hi Jack,

Here is how we do it:

%post --nochroot
#!/bin/sh

set -x -v
exec 1>/var/tmp/postinstall.out  2>&1

Your shell commands

I don't know if the shbang line is needed but this does work.


Thank you,

Ryan



On Feb 28, 2006, at 1:12 PM, Jack Fortune wrote:

I've finally bumbled through getting pxe boot/kickstart to work using dhcp, tftp, and http. I can't for the life of me get the % post section to do anything.

I'm installing AS 4 on commodity Dell server hardware.

Can someone tell me if there's a way to send the %post output to a file? If I could somehow capture it, it would be easier to locate my particular problem.

Jack Fortune
University of Oregon

_______________________________________________
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]