Upload custom scripts via git-repo in folder #12663
Unanswered
lp-2
asked this question in
Help Wanted!
Replies: 1 comment 1 reply
-
I believe you would need to use the new DataSource option: https://docs.netbox.dev/en/feature/models/core/datasource/ You can either point a data source to a local location, or directly to the git-repo. Then, add a script using the DataSource/File and choose "Auto sync enabled." Each script would have to be manually added once using this method though, as I don't believe there is a method to add them via API. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Unfortunately, I cannot find a way in the documentation to load custom scripts by moving them to the scripts folder.
the following situation, the custom scripts are maintained via git-repo, but since version 3.5.1 they have to be uploaded manually via web UI, as soon as these scripts are added directly to the folder, netbox ignores or does not load them.
What would be the procedure for such a case?
because this is not described in the documentation (https://docs.netbox.dev/en/stable/customization/custom-scripts/).
Beta Was this translation helpful? Give feedback.
All reactions