Extend container lifecycle with AdditionalSetup.ps1 and AdditionalOutput.ps1
mainThese scripts allow for custom logic at specific stages of the container lifecycle.
AdditionalSetup.ps1
- Purpose: Allows you to run additional setup tasks after all other setup scripts have completed.
- Execution Timing: This is the last script executed before the output section and the main loop.
- Default Behavior: Does nothing (empty script). If you override it, you do not need to call the default behavior.
- Use Case: Any custom configuration required after the standard NAV setup is finished.
AdditionalOutput.ps1
- Purpose: Allows you to output custom information to the user running the container.
- Default Behavior: Does nothing (empty script). If you override it, you do not need to call the default behavior.
- Use Case: Writing messages to the host that should be visible to the user managing the container.