LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   problem with kickstart post section (https://www.linuxquestions.org/questions/red-hat-31/problem-with-kickstart-post-section-547322/)

Hairman 04-19-2007 09:15 AM

problem with kickstart post section
 
I am installing my new Linux server (RHES4u4.64) with a kickstart script which is supplied by a windows pxe server. When is use the default file that came with the pxe server then everything is running ok. But if i modify this default kickstart file and put one line in the post section everything is running ok accept the post install section. If i remove this line and place a new line in the packages section the linux installs the package but the post section completes with errors. This post section looks like

%post
echo "This is a test" > /tmp/message

After running the kickstart script a message? file is created in the /tmp directory.
Has anybody ran into a similar problem ?????

Robert

ficeto 05-11-2007 12:02 PM

Quote:

Originally Posted by Hairman
I am installing my new Linux server (RHES4u4.64) with a kickstart script which is supplied by a windows pxe server. When is use the default file that came with the pxe server then everything is running ok. But if i modify this default kickstart file and put one line in the post section everything is running ok accept the post install section. If i remove this line and place a new line in the packages section the linux installs the package but the post section completes with errors. This post section looks like

%post
echo "This is a test" > /tmp/message

After running the kickstart script a message? file is created in the /tmp directory.
Has anybody ran into a similar problem ?????

Robert


i have the exact same problem :(
pease help us

Hairman 05-14-2007 01:35 PM

Since a few days i known what the problem is. It seems the kickstart file contains 1 or more strange characters at the end of one or more lines. I used a windows program called todos/fromdos to repair the kickstart file and the problem was gone.
Everything works fine now, even after making changes to the kickstart file.


All times are GMT -5. The time now is 08:21 AM.