From 16615c8deecd7b35debe1268df92cedb8dd8ab8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 1 Sep 2022 09:27:46 +0200 Subject: [PATCH] feat: include multiple backup directories using Jinja2 loop --- templates/opt/tivoli/tsm/client/ba/bin/dsm.sys.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/opt/tivoli/tsm/client/ba/bin/dsm.sys.j2 b/templates/opt/tivoli/tsm/client/ba/bin/dsm.sys.j2 index 1f073eb..7082c84 100644 --- a/templates/opt/tivoli/tsm/client/ba/bin/dsm.sys.j2 +++ b/templates/opt/tivoli/tsm/client/ba/bin/dsm.sys.j2 @@ -23,7 +23,11 @@ Servername {{ servername }} passwordaccess {{ passwordaccess }} managedservices {{ managedservices }} + * "Domain" cannot be an arbitrary path, it needs to be the root directory of a file system! Domain {{ domain }} + {% for dir in includedirs %} +include {{ dir }} + {% endfor %} exclude.fs /dev/shm exclude.dir /dev -- GitLab