Merge "atomic-podman: Set log imit to 50m" into stable/train

This commit is contained in:
Zuul 2020-03-18 10:33:27 +00:00 committed by Gerrit Code Review
commit fe3ba943b3
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,12 @@ systemctl restart sshd
_prefix="${CONTAINER_INFRA_PREFIX:-docker.io/openstackmagnum/}"
if [ "$(echo $USE_PODMAN | tr '[:upper:]' '[:lower:]')" == "true" ]; then
cat > /etc/containers/libpod.conf <<EOF
# Maximum size of log files (in bytes)
# -1 is unlimited
# 50m
max_log_size = 52428800
EOF
cat > /etc/systemd/system/heat-container-agent.service <<EOF
[Unit]
Description=Run heat-container-agent