aboutsummaryrefslogtreecommitdiff
path: root/netbox/config-patch1.diff
blob: cc5c6d24bf4e19ec7781d95554be6c41434d521b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/opt/netbox/netbox/netbox/configuration.py	2021-07-11 22:24:55.365668931 +0000
+++ b/opt/netbox/netbox/netbox/configuration.py	2021-07-11 22:25:25.077103585 +0000
@@ -4,11 +4,13 @@
 #                       #
 #########################
 
+import urllib3; urllib3.disable_warnings()
+
 # This is a list of valid fully-qualified domain names (FQDNs) for the NetBox server. NetBox will not permit write
 # access to the server via any other hostnames. The first FQDN in the list will be treated as the preferred name.
 #
 # Example: ALLOWED_HOSTS = ['netbox.example.com', 'netbox.internal.local']
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
 
 # PostgreSQL database configuration. See the Django documentation for a complete list of available parameters:
 #   https://docs.djangoproject.com/en/stable/ref/settings/#databases
@@ -57,7 +59,7 @@
 # For optimal security, SECRET_KEY should be at least 50 characters in length and contain a mix of letters, numbers, and
 # symbols. NetBox will not run without this defined. For more information, see
 # https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-SECRET_KEY
-SECRET_KEY = ''
+SECRET_KEY = 'dummy setup value will get cleared after setup run'
 
 
 #########################