Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.1.4
Python Version
3.12
Steps to Reproduce
- Create a Data Source with several Jinja2 template files:
start.j2:
{%- set PATH = 'my/prefix/' %}
{%- include PATH + 'test.j2' %}
my/prefix/test.j2:
SOME RENDERED TEXT
- Create Config Template using the Data Source and the Data File start.j2
- Attach Config Template to a Device
- Select the Render Config tab on the Device
Expected Behavior
Should not fail to render.
Observed Behavior
Fails to render with TemplateNotFound 'my/prefix/test.j2' exception.