unifios-utilities/container-common/on_boot.d/05-container-common.sh

6 lines
254 B
Bash
Raw Normal View History

2023-02-23 05:44:27 +00:00
#!/bin/bash
# This script runs before any custom containers start to adjust container common defaults
# Set a limit for container logs. 104857600 Bytes = 100 Megabytes
sed -i 's/max_log_size = -1/max_log_size = 104857600/g' /etc/containers/libpod.conf;