diff scripts/.bela_common @ 527:1c68ad13bbe4 API-update

stricthostchecking is added to each check_board_alive
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 23 Jun 2016 18:15:26 +0100
parents 1ca196e35105
children
line wrap: on
line diff
--- a/scripts/.bela_common	Thu Jun 23 13:28:06 2016 +0100
+++ b/scripts/.bela_common	Thu Jun 23 18:15:26 2016 +0100
@@ -36,7 +36,7 @@
 
 check_board_alive(){
 	printf "Checking the board is up and running at $BBB_ADDRESS..."
-	ssh -o ConnectTimeout=10 $BBB_ADDRESS exit && printf "done\n" || {
+	ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 $BBB_ADDRESS exit && printf "done\n" || {
 		printf "\nERROR: the board does not respond at $BBB_ADDRESS, check that the address is correct and the board is connected.\n";
 		exit 1;
 	}