• About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email

Cheetah in Cobbler Kickstart templates

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 instance,

#for $file in $filelist
touch 

For further syntax see
https://fedorahosted.org/cobbler/wiki/KickstartTemplating

Tag
  • Python
  • cobbler
  • cheetah

Share

Twitter Facebook Google+
Back to all post
comments powered by Disqus
Subscribe!
All content copyright © 2025 • All rights reserved.
Proudly published with Ghost