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-06-06 05:45:25 +0000
commit24ad63429f3434b034205d2dd6c0b166e6dfebf4 (patch)
tree06c3234bef249af8d3a54542a8b34439fb35dcc8 /share/systemd
parentPrefering mmdebstrap to debootstrap in debconf script. (diff)
downloadcompute-tools-24ad63429f3434b034205d2dd6c0b166e6dfebf4.tar.xz
compute-tools-24ad63429f3434b034205d2dd6c0b166e6dfebf4.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 'share/systemd')
-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