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

6 lines
252 B
Bash
Raw Normal View History

#!/bin/sh
# 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;