summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNicolas Vollmar <nvollmar@gmail.com>2025-04-21 10:45:02 +0200
committerNicolas Vollmar <nvollmar@gmail.com>2025-04-21 10:45:02 +0200
commitdbe75e27c4b0c910447b9af7e0115053d410a4c6 (patch)
treedce72970c10e75277bd61f4bfdd4f52ca3962b23 /data
parent39e2a908e5d141911820c20bb1a5a5b1b96fa457 (diff)
downloadvyos-1x-dbe75e27c4b0c910447b9af7e0115053d410a4c6.tar.gz
vyos-1x-dbe75e27c4b0c910447b9af7e0115053d410a4c6.zip
T7382: adds podman log driver configuration option
Diffstat (limited to 'data')
-rw-r--r--data/templates/container/containers.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/container/containers.conf.j2 b/data/templates/container/containers.conf.j2
index c8b54dfbb..65436801e 100644
--- a/data/templates/container/containers.conf.j2
+++ b/data/templates/container/containers.conf.j2
@@ -172,7 +172,11 @@ default_sysctls = [
# Logging driver for the container. Available options: k8s-file and journald.
#
+{% if log_driver is vyos_defined %}
+log_driver = "{{ log_driver }}"
+{% else %}
#log_driver = "k8s-file"
+{% endif %}
# Maximum size allowed for the container log file. Negative numbers indicate
# that no size limit is imposed. If positive, it must be >= 8192 to match or