summaryrefslogtreecommitdiff
path: root/docs/_include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-26 21:15:45 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-26 21:15:45 +0100
commite1229bca25d62cd3beb1fc27e348cb8c8e12f15e (patch)
tree44fb462d58177aeb1754964c83fc9dc86be1fce0 /docs/_include
parentf5e141d71801b9cbbeb0e7bcf6abd0cb29d98740 (diff)
downloadvyos-documentation-e1229bca25d62cd3beb1fc27e348cb8c8e12f15e.tar.gz
vyos-documentation-e1229bca25d62cd3beb1fc27e348cb8c8e12f15e.zip
T4497: add info about dhcp enter/exit hooks
Diffstat (limited to 'docs/_include')
-rw-r--r--docs/_include/interface-address-with-dhcp.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/_include/interface-address-with-dhcp.txt b/docs/_include/interface-address-with-dhcp.txt
index de51a887..d454d051 100644
--- a/docs/_include/interface-address-with-dhcp.txt
+++ b/docs/_include/interface-address-with-dhcp.txt
@@ -11,6 +11,14 @@
* **dhcpv6** interface address is received by DHCPv6 from a DHCPv6
server on this segment.
+ .. note:: When using DHCP to retrieve IPv4 address and if local
+ customizations are needed, they should be possible using the enter and
+ exit hooks provided. The hook dirs are:
+
+ * ``/config/scripts/dhcp-client/pre-hooks.d/``
+ * ``/config/scripts/dhcp-client/post-hooks.d/``
+
+
Example:
.. code-block:: none