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:
%post %include /tmp/ks-post
Still a bit more convoluted than I'd like, but seems to work fine.