Allow specifying an arbitrary path to NetBox's configuration module on init #8649
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
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
The text was updated successfully, but these errors were encountered: