qemu: cleanup UserKnownHostsFile
This commit is contained in:
parent
e5125a85e8
commit
ba38143d9a
|
@ -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} -- \
|
||||||
|
|
Loading…
Reference in New Issue