aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx3
-rw-r--r--kvmxfile3
2 files changed, 5 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index 0ce6550..1b8e06d 100755
--- a/kvmx
+++ b/kvmx
@@ -538,7 +538,8 @@ function kvmx_ssh {
fi
SSH="`cat $SSHFILE`"
- TERM=xterm $SSH_COMMAND -p $SSH 127.0.0.1 $*
+ #TERM=xterm $SSH_COMMAND -p $SSH 127.0.0.1 $*
+ $ssh_env $SSH_COMMAND -p $SSH 127.0.0.1 $*
}
# Suspend the virtual machine
diff --git a/kvmxfile b/kvmxfile
index 675db60..c0650d3 100644
--- a/kvmxfile
+++ b/kvmxfile
@@ -127,3 +127,6 @@ bootloader="grub"
# Number of CPUs
#smp="4"
+
+# Enviroment passed to SSH commands
+#ssh_env="TERM=xterm"