Displaying 1 result from an estimated 1 matches for "postinstallconfig".
2010 Jan 12
2
more kickstart - saving %pre decisions for %post
Hey again folks,
How can I save answers to questions in %pre, for use in %post?
I'm assuming (though have not yet tried) that variables won't live that long.
Could I save them off to /tmp in a file, and retrieve them?
e.g.
%pre
echo "VARNAME=$VARNAME" >> /tmp/varfile
%post
grep ^VARNAME= /tmp/varile
Or some such ...
--
?Don't eat anything you've ever seen