From 7c3d3bb8ae244ae0707c0cb36c22bc143df1da2b Mon Sep 17 00:00:00 2001 From: Lorenzo Stoakes Date: Thu, 10 Mar 2016 07:33:23 +0000 Subject: vm/qemu: strip ssh warnings This patch sets the ssh loglevel to error to avoid noisy warnings, specifically known host errors like: Warning: Permanently added '[localhost]:1569' (ECDSA) to the list of known hosts. Previously this appeared at the top of every crash report. --- vm/qemu/qemu.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/qemu/qemu.go b/vm/qemu/qemu.go index 3cee70050..ab669b9b1 100644 --- a/vm/qemu/qemu.go +++ b/vm/qemu/qemu.go @@ -321,5 +321,6 @@ func (inst *instance) sshArgs(portArg string) []string { "-o", "UserKnownHostsFile=/dev/null", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", + "-o", "LogLevel=error", } } -- cgit mrf-deployment