Skip to content
Discussion options

You must be logged in to vote

In the same folder.
Path will depend on how you consume config template --> datasource or locally created
In case of datasource (git or local option, idk for S3) --> all the datafiles are stored in the same "root" folder, could be /opt/netbox/... or the git repository itself --> just respect the relative path of your datafiles which is the same for the jinja files you write.

In the doc example, it assumes a datasource is created, datafiles are there and the tree files is kind of :
/base.j2
/common/interface.j2
/exemple.j2
The config template that is mapped to a datafile mapped itself to a datasource will "understand" automatically all the files provided into the datasource, i.e you can im…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Domoninic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants