diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-06-26 11:51:33 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-06-26 11:51:33 +0000 |
commit | e97cb41b6a28414f77d3865bbea16fbb539e46c3 (patch) | |
tree | da1d710e7cd4e9091065869ba59ea4eca1fba25d | |
parent | 6377f0aaf16dc6cb199735256a299d40585cdfd0 (diff) | |
parent | f9c8f65b7503928fee8d00ba4b56cdd36793919f (diff) | |
download | v-i-e97cb41b6a28414f77d3865bbea16fbb539e46c3.tar.gz |
Merge branch 'x' into 'main'
disable systemd journal persistence on installer image
See merge request larswirzenius/v-i!28
-rw-r--r-- | installer-ansible.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml index fe7475a..a53d998 100644 --- a/installer-ansible.yml +++ b/installer-ansible.yml @@ -15,6 +15,18 @@ shell: | sed -i '/^root:[^:]*:/s//root::/' /etc/passwd + - name: "uninstall rsyslogd" + apt: + name: rsyslogd + state: absent + purge: yes + + - name: "make systemd journal volatile (non-persistent)" + lineinfile: + path: /etc/systemd/journald.conf + regexp: Storage= + line: Storage=volatile + - name: "create /root/.ssh" file: state: directory |