[CentOS] kickstart: transfer info between %pre and %post

Wed Mar 21 03:13:04 UTC 2007
Florin Andrei <florin at andrei.myip.org>

Will McDonald wrote:
> Ramdisk that remains mounted between stages?

That might work.

Anyway, I've found a way: I generate the %post script dynamically in 
%pre and then I include it in the main ks.cfg like this:

%include /tmp/ks-post

Still a bit more convoluted than I'd like, but seems to work fine.

Florin Andrei