summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/create-and-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index 0e2a3ca..0425e63 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -20,7 +20,7 @@ debvm-create -k ssh_id.pub -o test.ext4 -a "$1" -r "$2"
timeout 240s debvm-run -s 2222 -i test.ext4 &
timeout=5
-sshopt="-o StrictHostKeyChecking=no $(if test "$2" = jessie; then echo -o PubkeyAcceptedKeyTypes=+ssh-rsa; fi)"
+sshopt="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $(if test "$2" = jessie; then echo -o PubkeyAcceptedKeyTypes=+ssh-rsa; fi)"
ts=$(sleepenh 0 || [ $? -eq 1 ])
for i in $(seq 30); do
rv=0