@@ -13,7 +13,7 @@ This script will clone a copy of the `netbox-community/devicetype-library` repos
13131 . This script is written in Python, so lets setup a virtual environment.
1414
1515```
16- git clone https://github.com/minitriga/Netbox- Device-Type-Library-Import
16+ git clone https://github.com/netbox-community/ Device-Type-Library-Import.git
1717cd Netbox-Device-Type-Library-Import
1818python3 -m venv venv
1919source venv/bin/activate
@@ -58,17 +58,17 @@ To import only device by APC, for example:
5858./nb-dt-import.py --vendors apc
5959```
6060
61- ` --vendors ` can also accept a comma separated list of vendors if you want to import multiple.
61+ ` --vendors ` can also accept a comma separated list of vendors if you want to import multiple.
6262
6363```
6464./nb-dt-import.py --vendors apc,juniper
6565```
6666
6767## Docker build
6868
69- It's possible to use this project as a docker container.
69+ It's possible to use this project as a docker container.
7070
71- To build :
71+ To build :
7272
7373```
7474docker build -t netbox-devicetype-import-library .
@@ -80,15 +80,15 @@ Alternatively you can pull a pre-built image from Github Container Registry (ghc
8080docker pull ghcr.io/minitriga/netbox-device-type-library-import
8181```
8282
83- The container supports the following env var as configuration :
83+ The container supports the following env var as configuration :
8484
8585- ` REPO_URL ` , the repo to look for device types (defaults to _ https://github.com/netbox-community/devicetype-library.git _ )
8686- ` REPO_BRANCH ` , the branch to check out if appropriate, defaults to master.
8787- ` NETBOX_URL ` , used to access netbox
8888- ` NETBOX_TOKEN ` , token for accessing netbox
8989- ` VENDORS ` , a comma-separated list of vendors to import (defaults to None)
9090
91- To run :
91+ To run :
9292
9393```
9494docker run -e "NETBOX_URL=http://netbox:8080/" -e "NETBOX_TOKEN=98765434567890" ghcr.io/minitriga/netbox-device-type-library-import
0 commit comments