summaryrefslogtreecommitdiff
path: root/installer-ansible.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2023-05-03 16:31:32 +0300
committerLars Wirzenius <liw@liw.fi>2023-05-03 16:31:32 +0300
commite880229115c836312bb703e16e6a99189554fc00 (patch)
treec6c0059c6eb9dce369814150b2601525e83c074c /installer-ansible.yml
parent2df9054555e9b56544cb9ca9b6f241137748b729 (diff)
downloadv-i-e880229115c836312bb703e16e6a99189554fc00.tar.gz
feat: silence kernel messages to the console, in the installer
Sponsored-by: author
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r--installer-ansible.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/installer-ansible.yml b/installer-ansible.yml
index 56cee7a..4227437 100644
--- a/installer-ansible.yml
+++ b/installer-ansible.yml
@@ -88,11 +88,20 @@
FONTSIZE="8x16"
VIDEOMODE=
dest: /etc/default/console-setup
+ mode: 0644
- name: "set default LC_TYPE for all users"
shell:
echo export LC_CTYPE=fi_FI.UTF8 >> /etc/profile.d/finnish.sh
+ - name: "silence kernel messages to console"
+ copy:
+ content:
+ kernel.printk = 3 4 1 3
+ dest:
+ /etc/sysctl.d/kernel.conf
+ mode: 0644
+
# SSH configuration.
- name: "restrict root logins over ssh to require a key"