problem with %post commands`

Ryan C. Spaulding rspaulding at mail.arc.nasa.gov
Tue Feb 28 21:20:15 UTC 2006


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 at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list