kickstart %post fails to run
I have a kickstart script that works just fine. We have new software that is replacing our current software. I have taken that script and in the %post section I have just changed the file name that I want to copy from nfs to new install. when I run the new kickstart it completely skips over the %post section. What causes it to skip the entire %post section? Any help would be greatly appreciated.
running Red Hat Enterprise Linux 5.1 Working %post Code:
%post --nochroot Failing to run any of %post Code:
%post --nochroot |
Can you add --log=/root/post.log to the %post line (?) to see if there any errors given that you can look at after the event.
When I see practically the same config where one works and the other doesn't my first suspicion is line termination. What editor was used to make changes to the file? |
Quote:
Quote:
|
thanks wizzit! adding the log file help find the issue. I am not sure how it happened but there were extra hidden carrage returns at the end of the lines. the post.log showed the extra characters. I completely retyped (mostly cut and paste) the cfg in vi. It is now working.
|
Excellent! :)
|
Quote:
Thanks, Phil. |
Hi Phil,
This thread is solved for the OP so I guess the correct action would be to create a new thread (and reference this one if necessary) including some more information about your specific case; including details about the ks file, what system it's on etc.. Otherwise, it'll just polute this one. If the OP is still reading - perhaps you could mark this as SOLVED ? :) Thanks all, Grant |
All times are GMT -5. The time now is 09:33 PM. |