Address warnings when building userdocs

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-01-17 12:45:49 -07:00
parent 875106a79b
commit e6d4077746

View File

@@ -194,7 +194,8 @@ As warewulf doesn't manage the ipmi/bmc interfaces directly, but calls ``ipmitoo
this managed with a template which defines the behavior. For ``ipmitool`` following
template is used
.. code-block:: golang
.. code-block::
{{/* used command to access the ipmi interface of the nodes */}}
{{- $escapechar := "~" }}
{{- $port := "623" }}
@@ -220,11 +221,12 @@ In order to use another template, its filename must be specified for a node or p
path which is was defined as ``datadir`` in ``warwulf.conf`` or during compile time.
All IPMI specific variables are accessible in the template which are the following
+---------------------+--------------------+
| Parameter | Template variable |
+=====================+====================+
| ``--ipmiaddr`` | ``.Ipaddr`` |
+---------------------+--------------------+
| ``--ipminetmask`` | ``.Netmask`` |
| ``--ipminetmask`` | ``.Netmask`` |
+---------------------+--------------------+
| ``--ipmiport`` | ``.Port`` |
+---------------------+--------------------+