Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



https://github.com/netbox-community/netbox-docker/wiki/NAPALM-Configuration
location of netbox.env

after cloning the project "netbox-docker"


Code Block
titlenetbox.env location
myplex@batpc2:~/projects$ ls netbox-docker/env/
netbox.env  postgres.env  redis-cache.env  redis.env



edit the file with vi


Code Block
titlechange the netbox.env file
myplex@batpc2:~/projects/netbox-docker/env$ more netbox.env | grep NAPAL
NAPALM_USERNAME=Netbox
NAPALM_PASSWORD=Netbox
NAPALM_TIMEOUT=10


restart or rebuild the container

docker-compose up

or

python3 netbox/mnage.py runserver


Don't forget to define the Napalm driver ( junos )