diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-04-29 15:35:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 15:35:07 +0100 |
commit | b6a43b7810c89c9f3eb2d45771a9ff4be538e010 (patch) | |
tree | c7c19bf5d74c1427aa77b47442c3ed699c60ad04 /data | |
parent | 64849ac111bba3f0a453b3670964149811492e1b (diff) | |
parent | c73b006eef37323a66b0941b9ed03466b7748ae6 (diff) | |
download | vyos-1x-b6a43b7810c89c9f3eb2d45771a9ff4be538e010.tar.gz vyos-1x-b6a43b7810c89c9f3eb2d45771a9ff4be538e010.zip |
Merge pull request #4464 from nvollmar/T7382
T7382: adds podman log driver configuration option
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/container/containers.conf.j2 | 4 |
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 |