Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying an arbitrary path to NetBox's configuration module on init #8649

Closed
jeremystretch opened this issue Feb 15, 2022 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

NetBox version

v3.1.8

Feature type

New functionality

Proposed functionality

Allow NetBox administrators to pass an arbitrary path to the desired configuration module when initializing NetBox. An environment variable should suffice for this.

The current module is hardcoded as netbox.configuration, referencing the prescribed configuration file at ${working_dir}/netbox/configuration.py. We'll retain this as the default path, but defer to the `NETBOX_CONFIGURATION environment variable, if set.

Use case

This grants NetBox admins additional flexibility in how NetBox is installed and configured. It also simplifies our CI setup slightly.

Database changes

No response

External dependencies

No response

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Feb 15, 2022
@jeremystretch jeremystretch self-assigned this Feb 15, 2022
jeremystretch added a commit that referenced this issue Feb 15, 2022
jeremystretch added a commit that referenced this issue Feb 15, 2022
Closes #8649: Enable customization of configuration module
This was referenced Apr 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant