that there is no better %post debug and devel environment than to simply
open a shell and see what is going on. (In fact, I would very much like
to see this capability built into kickstart as a simple option: specify a
DEBUG parameter, and, on error, a shell prompt is provided.)
There is no need for a DEBUG parameter. You can get to a shell for debugging by..
1. not putting reboot in your ks.cfg
2. Crtl-Alt-F2
#2 will get you into a shell prompt that will allow you to do your debugging. If you are running your %post in a chroot fashion (default), the you will want to run chroot /mnt/sysimage and then do your debugging.
-Jeremy, RHCE