From dbe75e27c4b0c910447b9af7e0115053d410a4c6 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Mon, 21 Apr 2025 10:45:02 +0200 Subject: T7382: adds podman log driver configuration option --- data/templates/container/containers.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data') 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 -- cgit v1.2.3