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

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

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


More information about the CentOS mailing list