mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-08-15 18:42:29 +02:00
Updated Custom Startup Scripts (markdown)
@ -24,6 +24,11 @@ if created:
|
|||||||
my_custom_field.obj_type.add(device_type)
|
my_custom_field.obj_type.add(device_type)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Default Scripts
|
||||||
|
|
||||||
|
There's a bunch of scripts that come pre-built with the Netbox Docker image.
|
||||||
|
The [wiki page "Initializers"](Initializers) explains how to use them.
|
||||||
|
|
||||||
## Disable Startup Scripts
|
## Disable Startup Scripts
|
||||||
|
|
||||||
The execution of the startup scripts can be prevented by setting the environment variable `SKIP_STARTUP_SCRIPTS` to `true`, e.g. in the file `env/netbox.env`.
|
The execution of the startup scripts can be prevented by setting the environment variable `SKIP_STARTUP_SCRIPTS` to `true`, e.g. in the file `env/netbox.env`.
|
Reference in New Issue
Block a user