aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/netbox/set-config-defaults.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/netbox/set-config-defaults.patch')
-rw-r--r--unmaintained/netbox/set-config-defaults.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/netbox/set-config-defaults.patch b/unmaintained/netbox/set-config-defaults.patch
new file mode 100644
index 0000000000..73b8b629b3
--- /dev/null
+++ b/unmaintained/netbox/set-config-defaults.patch
@@ -0,0 +1,11 @@
+--- a/netbox/netbox/configuration.example.py
++++ b/netbox/netbox/configuration.example.py
+@@ -98,7 +98,7 @@
+
+ # The file path where uploaded media such as image attachments are stored. A trailing slash is not needed. Note that
+ # the default value of this setting is derived from the installed location.
+-# MEDIA_ROOT = '/opt/netbox/netbox/media'
++MEDIA_ROOT = '/var/lib/netbox/media'
+
+ # Credentials that NetBox will uses to authenticate to devices when connecting via NAPALM.
+ NAPALM_USERNAME = ''