@@ -75,7 +75,12 @@ Detailed information about task and execution log.
7575
7676Instruction below describes installation for Docker-compose instance of NetBox.
7777
78- ### 1. Create new docker image based on latest-ldap netbox image
78+ For bare-metal setup pip can be used for installation. But some changes (ftp/redis etc) will be requared anyway.
79+ ``` shell
80+ pip install netbox-plugin-software-manager
81+ ```
82+
83+ ## 1. Create new docker image based on latest-ldap netbox image
7984
8085``` shell
8186cd {{ your-netbox-locaton }}
@@ -112,7 +117,7 @@ docker build -t netbox-plugin .
112117> #--Pip
113118> RUN /opt/netbox/venv/bin/python -m pip install /source/SoftwareManager/
114119
115- # ## 2. Create FTP docker image based on [docker-alpine-ftp-server](https://github.com/delfer/docker-alpine-ftp-server)
120+ # # 2. Create FTP docker image based on [docker-alpine-ftp-server](https://github.com/delfer/docker-alpine-ftp-server)
116121
117122>Why FTP? Originally scp was used to transfer files, but based on experience, FTP is much faster.
118123
@@ -121,7 +126,7 @@ cd ftp
121126docker build -t ftp_for_netbox .
122127cd ../../
123128```
124- ### 3. Change docker-compose.yml
129+ ## 3. Change docker-compose.yml
125130
126131``` dockerfile
127132...
@@ -172,7 +177,7 @@ cd ../../
172177 - ADDRESS=192.168.0.1
173178```
174179
175- ### 4. Change NetBox configuration.py
180+ ## 4. Change NetBox configuration.py
176181
177182``` python
178183PLUGINS = [
@@ -206,19 +211,19 @@ PLUGINS_CONFIG = {
206211}
207212```
208213
209- ### 6. Rester docker-compose
214+ ## 6. Restart docker-compose
210215
211- ### 7. Add Custom Field
216+ ## 7. Add Custom Field
212217
213218| Name | Type | Label | Object(s) |
214219| ---------------| --------| ---------------| -----------------|
215220| sw_version | Text | SW Version | dcim > device |
216221
217- ### 8. Try to use
222+ ## 8. Try to use
218223
219224- - -
220225
221- ### nginx-unit.json
226+ ## nginx-unit.json
222227
223228Original NetBox config is used with max_body_size:
224229``` json
@@ -229,7 +234,7 @@ Original NetBox config is used with max_body_size:
229234}
230235```
231236
232- ### rq.sh script
237+ ## rq.sh script
233238``` shell
234239#! /bin/bash
235240
0 commit comments