I believe you will run into this when the %pre has a bash
error in it somewhere. Either comment out the entire %pre (except for the
sleep) or run it through kickstart-validator to see what it
reports.
From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Coe, Colin C. (Unix Engineer)
Sent: Sunday, July 08, 2007 3:54 PM
To: Discussion list about Kickstart
Subject: RE: Anaconda 11.1.2.36
Hi
Yep, tried that, It fails with "/tmp/partition.cfg not
found". The sleep at the top of the %pre script is not executed.
Does the partition need to be provided prior to the %pre script
nowdays?
CC
From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Shabazian, Chip
Sent: Saturday, 7 July 2007 1:28 AM
To: Discussion list about Kickstart
Subject: RE: Anaconda 11.1.2.36I'm using %include in my command section just fine. If you post your scripting, we can look for obvious errors, but the best thing to do would be to simply put:sleep 999999999in your %pre and then open a terminal (alt-f2) and walk through the pre manually to see where it fails.Chip
From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Coe, Colin C. (Unix Engineer)
Sent: Thursday, July 05, 2007 6:26 PM
To: Discussion list about Kickstart
Subject: Anaconda 11.1.2.36
Hi all
I'm in the process of looking at migrating my RedHat Satellite based RHEL3 kickstarts to RHEL5. Previously, I've always had a '%include /tmp/partition.cfg' and code in the %pre script to determine what '/tmp/partition.cfg' looks like.
What I'm finding now is Anaconda/KickStart is complaining about /tmp/partition.cfg being missing before the %pre script has run.
Any ideas on whats going on with this?
Thanks
CC
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.