From 0a232bcc22879dedec4323e38acb9321ae6068db Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 20 Sep 2017 10:10:04 +0200 Subject: [PATCH] Reconfigure console fonts to not use /tmp, fixes #1 --- 01-basic.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/01-basic.sh b/01-basic.sh index a6d0c19..4b4923a 100755 --- a/01-basic.sh +++ b/01-basic.sh @@ -1,6 +1,7 @@ #!/bin/bash SOURCE_DIR=$(realpath $(dirname "${0}")) +export DEBIAN_FRONTEND="noninteractive" # Uninstall unnecessary packages apt-get -y purge bsdmainutils dictionaries-common emacsen-common iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober task-english tasksel tasksel-data wamerican @@ -47,6 +48,7 @@ cp ${SOURCE_DIR}/basic/etc/default/grub /etc/default/grub # Set legal banner with URL + latin2 character set cp ${SOURCE_DIR}/basic/etc/default/console-setup /etc/default/console-setup cp ${SOURCE_DIR}/basic/etc/issue /etc/issue +dpkg-reconfigure console-setup # Forbid login on tty1, disable tty2-6 cp ${SOURCE_DIR}/basic/lib/systemd/system/getty@.service /lib/systemd/system/getty@.service @@ -62,7 +64,6 @@ update-grub ##### # Preconfigure -export DEBIAN_FRONTEND="noninteractive" echo postfix postfix/main_mailer_type string "Satellite system" | debconf-set-selections echo postfix postfix/mailname string "$(hostname -f)" | debconf-set-selections echo postfix postfix/relayhost string "" | debconf-set-selections