Don't ask to valid host key at first connection to a host
Change-Id: I664d15e2a913638ffccb85c4d420a0df8b9addc5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
export AFB_REMPORT=@AFB_REMPORT@
export AFB_TOKEN=@AFB_TOKEN@
export AFB_REMPORT=@AFB_REMPORT@
export AFB_TOKEN=@AFB_TOKEN@
-exec ssh -tt $RSYNC_TARGET << EOF
+exec ssh -o "StrictHostKeyChecking no" -tt $RSYNC_TARGET << EOF
afb-daemon --workdir=$RSYNC_PREFIX --port=$AFB_REMPORT --roothttp=./htdocs --ldpath=./lib --verbose --token=$AFB_TOKEN &
PID_DAEMON=\$!
afb-daemon --workdir=$RSYNC_PREFIX --port=$AFB_REMPORT --roothttp=./htdocs --ldpath=./lib --verbose --token=$AFB_TOKEN &
PID_DAEMON=\$!