mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
sshfs-fuse: Do not prompt for known_hosts during ptests
ptest runs are non-interactive, therefore ignore adding to known_hosts on localhost Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
mkdir -p ~/.ssh
|
||||||
|
cat > ~/.ssh/config << EOF
|
||||||
|
Host *
|
||||||
|
CheckHostIP no
|
||||||
|
StrictHostKeyChecking no
|
||||||
|
UserKnownHostsFile=/dev/null
|
||||||
|
EOF
|
||||||
pytest --automake
|
pytest --automake
|
||||||
|
|
||||||
|
rm -rf ~/.ssh/config
|
||||||
|
|||||||
Reference in New Issue
Block a user