summaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-12 08:29:37 +0100
committerDennis Eriksen <d@ennis.no>2019-11-12 08:29:37 +0100
commitfa4ed0b40060ee7fc644e815c5fe954da3997df0 (patch)
tree7d955316dbeb7fd1342eeaa5f7311c13f51a74c5 /mkosi.postinst
parentadding unattended-upgrades and removing debugging-tools (diff)
downloadmkosi-matrix-fa4ed0b40060ee7fc644e815c5fe954da3997df0.tar.gz
fuck ubuntus motd
Diffstat (limited to 'mkosi.postinst')
-rwxr-xr-xmkosi.postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkosi.postinst b/mkosi.postinst
index b360d24..32124b4 100755
--- a/mkosi.postinst
+++ b/mkosi.postinst
@@ -1,8 +1,12 @@
#!/bin/sh
set -ex
-
export DEBIAN_FRONTEND=noninteractive
+# motd
+chmod 644 /etc/update-motd.d/*
+systemctl mask motd-news.service
+systemctl mask motd-news.timer
+
# locales
sed -i 's/# en_IE.UTF-8 UTF-8/en_IE.UTF-8 UTF-8/' /etc/locale.gen
locale-gen