Skip to content

Commit a9b6c70

Browse files
committed
Customize the journald settings to avoid filling the disk
1 parent 8e4ed12 commit a9b6c70

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

user_data.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ hostname: %NAME%
55
ssh_authorized_keys:
66
%SSH_KEYS%
77

8+
write_files:
9+
- path: /etc/systemd/journald.conf
10+
permissions: 0644
11+
content: |
12+
[Journal]
13+
SystemMaxUse=50M
14+
RuntimeMaxUse=50M
15+
816
coreos:
917
etcd:
1018
name: %NAME%

0 commit comments

Comments
 (0)