Cobbler kickstart templates support Cheetah (http://www.cheetahtemplate.org/) code. Essentially it allows for execution of python syntax within a kickstart script, providing powerful and flexible capabilities in the code. This is equivalent to ERB (embedded ruby) syntax in Puppet templates.
Syntax key features
Any line which starts with a hash (#) is interpreted as cheetah syntax, unless followed immediately by a space.
#for $file in $filelist touch
For further syntax see