Tim,

As Rigoberto has indicated, you will need to do some %pre processing.  Either 
having the %pre script create the template_stuff.ks or you need to "mkdir 
/something" and "mount -r -o nolock <serverIP>:/share /something".  Then you 
could access template_stuff.ks.  The problem you have is that the kickstart 
script is retrieved.  Once retrieved, you cannot reference that location 
directly.

Regards,

Joseph

________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Rigoberto Corujo
Sent: Thursday, March 19, 2009 7:02 AM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] Include statements in Kickstart files over NFS

Where are you creating the "template_stuff.ks" file?  In the "%pre" section?

Rigoberto

--- On Thu, 3/19/09, Tim Edwards <[email protected]> wrote:
From: Tim Edwards <[email protected]>
Subject: [rhelv5-list] Include statements in Kickstart files over NFS
To: "Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list" 
<[email protected]>
Date: Thursday, March 19, 2009, 5:09 AM

Hi,



Has anyone used include statements in kickstart files that are shared

over NFS. I've tried both relative and absolute paths:

%include ../somedir/template_stuff.ks

%include /full/path/template_stuff.ks



However in both cases the information from template_stuff.ks is not

added into the kickstart file and it prompts me.



Tim



_______________________________________________

rhelv5-list mailing list

[email protected]

https://www.redhat.com/mailman/listinfo/rhelv5-list


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to