From 206b8290c350facf24393fd426fb113574e883ed Mon Sep 17 00:00:00 2001 From: Jonathon Anderson Date: Fri, 15 Nov 2024 15:12:55 -0700 Subject: [PATCH] Document "readlink" template funtion Signed-off-by: Jonathon Anderson --- userdocs/contents/templating.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/userdocs/contents/templating.rst b/userdocs/contents/templating.rst index 2a6998bd..c2164905 100644 --- a/userdocs/contents/templating.rst +++ b/userdocs/contents/templating.rst @@ -215,13 +215,18 @@ A given string can be split into substrings. softlink ^^^^^^^^ -Will create a soft link to the given string for the template. +Creates a soft link to the given string for the template. ImportLink ^^^^^^^^^^ -Tries to evaluate the soft link on the host running `wwctl`/`warewulfd` and -then create the soft link to it. +Evaluates the soft link on the Warewulf server and +then create the soft link to it in the overlay. + +readlink +^^^^^^^^ + +Evaluates the soft link on the Warewulf server and returns the target. Node specific files