I had a revelation yesterday. In order to simplify the task, everywhere I need the ip address of the local kickstart server, I'm going to use a variable. At the top of each respective switch where I need that variable, I'll put in a line like:
Then in the script that pulls the files out of git on each kickstart server, I'll add code to change 1.2.3.4 to the correct ip address. This way I won't have to worry about trying to do this dynamically during %post and my git repository will remain authoritative and complete for all of the kickstart servers.