aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmx b/kvmx
index b12eb77..00a41be 100755
--- a/kvmx
+++ b/kvmx
@@ -5,6 +5,7 @@
# Parameters
BASENAME="`basename $0`"
+DIRNAME="`dirname $0`"
STORAGE="/var/cache/qemu"
SHARED="/var/data/load"
PORT="$(($RANDOM + 1024))"
@@ -15,7 +16,7 @@ BOX="$STORAGE/$VM/box.img"
PIDFILE="$STORAGE/$VM/pid"
PORTFILE="$STORAGE/$VM/port"
SSHFILE="$STORAGE/$VM/ssh"
-SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
+SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=FATAL -i $DIRNAME/ssh/insecure_private_key"
LOGIN="user"
# Run spice client