diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c6a5829..b738ca89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Added systemd.mount and systemd.swap overlays. #1894 - Support configuring Ignition with resources. #1894 - Added `wwctl set --parttype`. #1894 +- Added additional documentation for network tags. #1856 ### Fixed diff --git a/userdocs/nodes/network.rst b/userdocs/nodes/network.rst index 2eee1107..3e7728ae 100644 --- a/userdocs/nodes/network.rst +++ b/userdocs/nodes/network.rst @@ -34,6 +34,17 @@ specifying ``--netname``. an interface may fail to be named correct if its desired name conflicts with the kernel-assigned name of another interface during the boot process. +.. _nettags: + +Network Tags +============ + +Each network device can optionally have one or more key-value pair tags. + +.. code-block:: shell + + wwctl node set n1 --nettagadd="DNS1=1.1.1.1" + .. _bonding: Bonding diff --git a/userdocs/overlays/overlays.rst b/userdocs/overlays/overlays.rst index 73306f2b..2dfb02f0 100644 --- a/userdocs/overlays/overlays.rst +++ b/userdocs/overlays/overlays.rst @@ -260,8 +260,13 @@ The **issue** overlay configures a standard Warewulf status message for display during login. The **resolv** overlay configures ``/etc/resolv.conf`` based on the value of -"DNS" nettags. (In most situations this should be unnecessary, as the network -interface configuration should handle this dynamically.) +"DNS" :ref:`nettags `. (In most situations this should be unnecessary, +as the network interface configuration should handle this dynamically.) + +.. code-block:: shell + + wwctl node set n1 --nettagadd="DNS1=1.1.1.1" + wwctl node set n1 --nettagadd="DNS2=1.0.0.1" fstab -----