diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-03-01 23:47:31 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-03-01 23:53:17 +0100 |
commit | 87325878949d5a315535720828af5185ebaa7a9f (patch) | |
tree | a7e663a8d94635034e80b0ac6aeb2538dd9f20f0 /labs/zte/pod3/daisy/config/deploy.yml | |
parent | 47bd97b8cf09c26619e106874eab6c84b5060f67 (diff) |
generate_config: New `-i` arg for j2 includes dir
jinja2 does not support imports from parent directories, so in order
for j2 to be able to use '{% from <some>.j2 import ... %}' constructs
with included j2 residing on a separate dirpath than current j2, add
support for explicitly adding directories to the templater search
path.
This also allows calling generate_config with only file basename as
'-j' arg value, as long as the dirname is passed via '-i' (can be
extended later to parsing multiple j2 files at once).
Change-Id: I943fda9262a6f7de5ee6fcc3e7bc9828c339651a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'labs/zte/pod3/daisy/config/deploy.yml')
0 files changed, 0 insertions, 0 deletions