Merge "fcos-podman: Set max size for logging to 50m"

This commit is contained in:
Zuul 2020-03-16 10:02:26 +00:00 committed by Gerrit Code Review
commit 8dcfd8325b
2 changed files with 27 additions and 0 deletions

View File

@ -35,6 +35,19 @@ storage:
group:
name: root
files:
- path: /etc/containers/libpod.conf
# 420 (decimal) == 644 (octal)
mode: 420
user:
name: root
group:
name: root
contents:
inline: |
# Maximum size of log files (in bytes)
# -1 is unlimited
# 50m
max_log_size = 52428800
- path: /etc/hostname
# 420 (decimal) == 644 (octal)
mode: 420

View File

@ -46,6 +46,20 @@
}
],
"files": [
{
"group": {
"name": "root"
},
"path": "/etc/containers/libpod.conf",
"user": {
"name": "root"
},
"contents": {
"source": "data:,%23%20Maximum%20size%20of%20log%20files%20(in%20bytes)%0A%23%20-1%20is%20unlimited%0A%23%2050m%0Amax_log_size%20%3D%2052428800%0A",
"verification": {}
},
"mode": 420
},
{
"group": {
"name": "root"