summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-11-20 08:50:05 +0100
committerThomas Haller <thaller@redhat.com>2023-11-20 16:40:10 +0100
commit1054d3bce08e5d533c83cab5fc0b08a978341357 (patch)
tree5a79bb30b3a1ebde3ac9d03c08661c5b9bf85c0e
parent84ede1c380cb7e5a1da447f93c1f247843e155b0 (diff)
nm-in-container: set TERM=xterm in bashrc
Otherwise, TERM is set to "dump", which breaks a lot of uses of the pager.
-rw-r--r--tools/nm-guest-data/etc-bashrc.my.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/nm-guest-data/etc-bashrc.my.in b/tools/nm-guest-data/etc-bashrc.my.in
index 531519bad7..88f2f9aa2c 100644
--- a/tools/nm-guest-data/etc-bashrc.my.in
+++ b/tools/nm-guest-data/etc-bashrc.my.in
@@ -11,6 +11,8 @@ unset DEBUGINFOD_URLS
export NMCI_DEBUG=1
+export TERM=xterm
+
Clean() {
systemctl stop NetworkManager
rm -i -rf /run/NetworkManager