Fix typos in /opt/.../netbox/ paths

The number of nested /netbox directories is actually 3 not 2 if you follow these directions. Updated the three locations I could find where there were only 2 shown.
This commit is contained in:
James G. Beldock 2023-12-25 19:28:33 -08:00 committed by GitHub
parent 99467e8f66
commit d97c2a7f6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,9 +99,9 @@ Create a system user account named `netbox`. We'll configure the WSGI and HTTP s
``` ```
sudo adduser --system --group netbox sudo adduser --system --group netbox
sudo chown --recursive netbox /opt/netbox/netbox/media/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/media/
sudo chown --recursive netbox /opt/netbox/netbox/reports/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/reports/
sudo chown --recursive netbox /opt/netbox/netbox/scripts/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/scripts/
``` ```
=== "CentOS" === "CentOS"
@ -109,9 +109,9 @@ Create a system user account named `netbox`. We'll configure the WSGI and HTTP s
``` ```
sudo groupadd --system netbox sudo groupadd --system netbox
sudo adduser --system -g netbox netbox sudo adduser --system -g netbox netbox
sudo chown --recursive netbox /opt/netbox/netbox/media/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/media/
sudo chown --recursive netbox /opt/netbox/netbox/reports/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/reports/
sudo chown --recursive netbox /opt/netbox/netbox/scripts/ sudo chown --recursive netbox /opt/netbox/netbox/netbox/scripts/
``` ```
## Configuration ## Configuration
@ -119,7 +119,7 @@ Create a system user account named `netbox`. We'll configure the WSGI and HTTP s
Move into the NetBox configuration directory and make a copy of `configuration_example.py` named `configuration.py`. This file will hold all of your local configuration parameters. Move into the NetBox configuration directory and make a copy of `configuration_example.py` named `configuration.py`. This file will hold all of your local configuration parameters.
```no-highlight ```no-highlight
cd /opt/netbox/netbox/netbox/ cd /opt/netbox/netbox/netbox/netbox/
sudo cp configuration_example.py configuration.py sudo cp configuration_example.py configuration.py
``` ```