qemu: cleanup UserKnownHostsFile

This commit is contained in:
Sebastien Bourdeauducq 2019-04-18 23:40:03 +08:00
parent e5125a85e8
commit ba38143d9a

View File

@ -32,7 +32,7 @@ let
argStr = builtins.concatStringsSep " " (args ++ extraArgs); argStr = builtins.concatStringsSep " " (args ++ extraArgs);
in "${qemu_kvm}/bin/qemu-system-x86_64 ${argStr}"; 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: '' ssh = cmd: ''
echo ssh windows '${cmd}' echo ssh windows '${cmd}'
${sshpass}/bin/sshpass -p${sshPassword} -- \ ${sshpass}/bin/sshpass -p${sshPassword} -- \