diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/automation/command-scripting.rst | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst index cf6c1f7b..b8cf0d9e 100644 --- a/docs/automation/command-scripting.rst +++ b/docs/automation/command-scripting.rst @@ -142,6 +142,23 @@ the post-hook script is "show interfaces". eth3 - u/u lo 203.0.113.5/24 u/u +Preconfig on boot +----------------- + +The ``/config/scripts/vyos-preconfig-bootup.script`` script is called on boot +before the VyOS configuration during boot process. + +Any modifications done to work around unfixed bugs and implement enhancements +which are not complete in the VyOS system can be placed here. + +The default file looks like this: + +.. code-block:: none + + #!/bin/sh + # This script is executed at boot time before VyOS configuration is applied. + # Any modifications required to work around unfixed bugs or use + # services not available through the VyOS CLI system can be placed here. Postconfig on boot @@ -162,6 +179,6 @@ The default file looks like this: # applied. Any modifications required to work around unfixed bugs or use # services not available through the VyOS CLI system can be placed here. -.. hint:: For configuration/upgrade management issues, modification of this +.. hint:: For configuration/upgrade management issues, modification of these script should be the last option. Always try to find solutions based on CLI commands first. |