summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-06-26 11:51:33 +0000
committerLars Wirzenius <liw@liw.fi>2022-06-26 11:51:33 +0000
commite97cb41b6a28414f77d3865bbea16fbb539e46c3 (patch)
treeda1d710e7cd4e9091065869ba59ea4eca1fba25d
parent6377f0aaf16dc6cb199735256a299d40585cdfd0 (diff)
parentf9c8f65b7503928fee8d00ba4b56cdd36793919f (diff)
downloadv-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.yml12
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