qemu: cleanup UserKnownHostsFile

pull/16/head
Sebastien Bourdeauducq 2019-04-18 23:40:03 +08:00
parent e5125a85e8
commit ba38143d9a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ let
argStr = builtins.concatStringsSep " " (args ++ extraArgs);
in "${qemu_kvm}/bin/qemu-system-x86_64 ${argStr}";
sshOpts = "-o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/tmp/known_hosts";
sshOpts = "-o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null";
ssh = cmd: ''
echo ssh windows '${cmd}'
${sshpass}/bin/sshpass -p${sshPassword} -- \