I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file.
The CentOS Documentation for the Pre-Installation Script states:
You can add commands to run on the system immediately after the ks.cfg has been parsed.
While the section for the Post-Installation Script states:
You have the option of adding commands to run on the system once the installation is complete.
After also reading this question, i notice that the %pre section does not seem to have access to the file system in some way.
My question(s) are:
- What are the differences between
%preand%postsections of a kickstart script in CentOS? - Is the
%presection run concurrently with the kickstart script (after parsing)? - Is there persistent storage available during the
%presection of the kickstart script?