From 24ad63429f3434b034205d2dd6c0b166e6dfebf4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 20 Apr 2021 13:49:00 +0200 Subject: Setting TERM in systemd container service files to improve machinectl login. Signed-off-by: Daniel Baumann --- share/systemd/container@.service | 1 + 1 file changed, 1 insertion(+) (limited to 'share') diff --git a/share/systemd/container@.service b/share/systemd/container@.service index 9e9f720..5d4425e 100644 --- a/share/systemd/container@.service +++ b/share/systemd/container@.service @@ -4,6 +4,7 @@ Documentation=man:compute-tools [Service] Type=simple +Environment=TERM=xterm-256color ExecStart=/usr/bin/container start --name %i --nspawn --no-notification ExecStartPost=/usr/bin/container start --name %i --start --no-notification ExecStopPost=/usr/bin/container stop -n %i --clean --no-notification -- cgit v1.2.3