I am creating a Kickstart script that will be used to deploy a system. My goal is to get input from a config file on my install server for the static ip settings, timezone, and possibly a couple others. I know how to get variables from users in the %pre section or from my cmd line arguments, but i am having trouble finding any tutorial on how to use variables from a file retrieved in %pre in the command section.
Here is what i have now:
In the command section
%include /tmp/file_to_include
In %PRE
wget
http://server/info_to_include -O /tmp/file_to_include
I think i have the file available in my command section now, but i'm not sure how to parse it in order to use its contents?
Only helpful link i've found is pg 19 of: http://www.redhat.com/promo/summit/2010/presentations/summit/decoding-the-code/wed/cshabazi-530-more/MORE-Kickstart-Tips-and-Tricks.pdf[/URL]