LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kickstart %pre not executing (https://www.linuxquestions.org/questions/linux-general-1/kickstart-pre-not-executing-134030/)

rajatgarg 01-12-2004 12:16 PM

Kickstart %pre not executing
 
Hi All,

I have prepared kickstart file - kick.cfg for Redhat 9, which is supposed to automate the installations.
Now the problem is that commands inserted in %pre do not execute.

I have done this :

kick.cfg :
some commands

%packages

%pre
chvt 3
echo "In the main kickstart file"
mkdir -p /mnt/xyz
mkdir -p /tmp/abc

%post

--end --

Now, commands in %pre section do not execute. Can somebody tell me the reason for such problem.

Regards,
Rajat





%pre


All times are GMT -5. The time now is 01:37 PM.