Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
33.11.2. Use an Interpreter
To specify a scripting language to use to execute the script, select the Use an interpreter option and enter the interpreter in the text box beside it. For example,
/usr/bin/python2.2
can be specified for a Python script. This option corresponds to using %post --interpreter /usr/bin/python2.2
in your kickstart file.