unifios-utilities/container-common/on_boot.d/05-container-common.sh
2021-01-30 00:39:48 -08:00

6 lines
252 B
Bash

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