Florin Andrei
2007-Mar-21 02:01 UTC
[CentOS] kickstart: transfer info between %pre and %post
I collect some info with the %pre script. But I really want to execute some programs, based on that info, during a chrooted %post. The problem is, %pre and chrooted %post do not share any part of the filesystem. In %pre the hard-drives are not yet formatted, while in a chrooted %post the installer's root is not available. How to transfer info between these two stages? One idea would be to upload a file to the kickstart fileserver. That's ugly in many ways. Any other idea? -- Florin Andrei http://florin.myip.org/
Will McDonald
2007-Mar-21 02:08 UTC
[CentOS] kickstart: transfer info between %pre and %post
On 21/03/07, Florin Andrei <florin at andrei.myip.org> wrote:> I collect some info with the %pre script. But I really want to execute > some programs, based on that info, during a chrooted %post. > > The problem is, %pre and chrooted %post do not share any part of the > filesystem. In %pre the hard-drives are not yet formatted, while in a > chrooted %post the installer's root is not available. > How to transfer info between these two stages? > > One idea would be to upload a file to the kickstart fileserver. That's > ugly in many ways.Ramdisk that remains mounted between stages? nb: I have no idea if this would work, just a suggestion :) Will.
Apparently Analagous Threads
- interactive %pre in kickstart?
- state of IPSec VPN on CentOS 7: Openswan, strongSwan, RPM packages
- state of IPSec VPN on CentOS 7: Openswan, strongSwan, RPM packages
- PSTN/phone/FXO/FXS cabling issue
- state of IPSec VPN on CentOS 7: Openswan, strongSwan, RPM packages