I remain fuzzy on what appear to be limitations to Kickstart's execution of a post-install script.
My initial understanding was that the %post area of the kickstart file was to execute commands on the system after the installation was said and done. What I might be misunderstanding is the context of this execution, despite the fact that I instruct the Kickstart file to use Bash as the interpreter. I have a Bash script that configures a CentOS system as a kiosk for our network. Alone the script works fine, but it's normally executed well after an installation is finished and one has logged into a GNOME session. I wanted to take that script and, with some modifications, have Kickstart run it in an effort to get as close to unattended as possible. A mere copy-and-paste of the script has some dramatically undesirable effects. First, the post script takes hours to complete. If run inside GNOME manually, it takes no more than a minute to execute in the worst cases. Second, when it finishes, several aspects appear to have not worked at all. For example, the section where firewalld is configured seems to have not been run as my custom zone and services are entirely absent. Another version of this script attempts to chmod a trigger file to conditionally execute another script, and while the trigger file is created, the chmod on that file doesn't appear to work. Further, what I understand to be the log files for anaconda: /tmp/program.log and /tmp/install.log, show nothing out of the ordinary as anything having failed.
I have a lightly modified copy of the Bash script which has some sensitive elements removed (noted when it does this) here: https://pastebin.com/uSkcdynf. The Kickstart file is pretty standard, only having this script pasted between the %post and %end for that section.