Re: moving kickstart forward
Gordon Messmer <[email protected]> Tue, 8 Mar 2016 10:39:01 -0800
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <[email protected]> |
On 03/07/2016 09:03 AM, Chris Lumens wrote:
>> - We are using Jinja to generate the final kickstart from what amounts to
>> >kickstart snippets.
> How did you decide on this template system? If I wanted to add an
> "official" template system that pykickstart runs the input file through,
> should I use this one?
Although I also like Jinja2 and mentioned it in my last email, quoting
'{' and '}' characters is ugly, and I suspect they're common in %pre and
%post shell scripts. If you used it, you'd have to parse shell sections
out first and run the remainder through the template engine.