From 88016309a921cd5714ca6bfa59c8d492167e390e Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Fri, 12 Jul 2024 16:30:12 +0200 Subject: [PATCH] soft link documentation Signed-off-by: Christian Goll --- CHANGELOG.md | 1 + userdocs/contents/templating.rst | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44fdc00a..bc34d92d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Document "known issues." - Add `wwctl --kernelversion` to specify the desired kernel version or path. #1556 - Add `wwctl container kernels` to list discovered kernels from containers. #1556 +- Add possibility to define a softlink target with an overlay template ### Changed diff --git a/userdocs/contents/templating.rst b/userdocs/contents/templating.rst index 90420acd..2a6998bd 100644 --- a/userdocs/contents/templating.rst +++ b/userdocs/contents/templating.rst @@ -212,6 +212,17 @@ A given string can be split into substrings. {{ $y := (split $x ":") -}} {{ range $y }} {{.}} {{ end }} +softlink +^^^^^^^^ + +Will create 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. + Node specific files -------------------