diff options
| author | Lorenzo Stoakes <lstoakes@gmail.com> | 2016-03-10 07:33:23 +0000 |
|---|---|---|
| committer | Lorenzo Stoakes <lstoakes@gmail.com> | 2016-03-10 07:33:23 +0000 |
| commit | 7c3d3bb8ae244ae0707c0cb36c22bc143df1da2b (patch) | |
| tree | 0b6c31be8b09176f4f4f4ddd03aeb85b062253d1 | |
| parent | 790547736377abf3a1c5792063b1414e3b275deb (diff) | |
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.
| -rw-r--r-- | vm/qemu/qemu.go | 1 |
1 files changed, 1 insertions, 0 deletions
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", } } |
