summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2021-06-23 14:36:15 -0300
committerfett0 <fernando.gmaidana@gmail.com>2021-06-23 14:36:15 -0300
commitf0b233d760ce1066b023b412c425a7976880905d (patch)
tree5d9e0a5defadfbc81fbf0ef32b5e43108dfb13da
parentd83da4ec55488ae1a3c09d8ca8d3b7d910adf0f2 (diff)
downloadvyos-documentation-f0b233d760ce1066b023b412c425a7976880905d.tar.gz
vyos-documentation-f0b233d760ce1066b023b412c425a7976880905d.zip
automation: add description preconfig on boot
-rw-r--r--docs/automation/command-scripting.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst
index cf6c1f7b..c186257e 100644
--- a/docs/automation/command-scripting.rst
+++ b/docs/automation/command-scripting.rst
@@ -142,7 +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
------------------
@@ -158,10 +174,10 @@ The default file looks like this:
.. code-block:: none
#!/bin/sh
- # This script is executed at boot time after VyOS configuration is fully
+ # This script is executed at boot time after VyOS configuration is fullyßßßß
# 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.