summaryrefslogtreecommitdiffstats
path: root/share/systemd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-20 11:49:00 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-05-01 16:18:57 +0000
commit3d5871e3194faab9b0e806958ceff5cbe8de1ac7 (patch)
tree74cbf5d845fdeab55d9468df02da651fd36afb7d /share/systemd
parentReplacing debian.list with debian.sources in debconf script based on a patch ... (diff)
downloadcompute-tools-3d5871e3194faab9b0e806958ceff5cbe8de1ac7.tar.xz
compute-tools-3d5871e3194faab9b0e806958ceff5cbe8de1ac7.zip
Setting TERM in systemd container service files to improve machinectl login.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rw-r--r--share/systemd/container@.service1
1 files changed, 1 insertions, 0 deletions
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