ソースを参照

Merge pull request #3695 from jakesmith/rsync-ssh-noprompt

HPCC-8287 Avoid rsync prompt in thor slave script

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 年 前
コミット
c41e6309f2
1 ファイル変更2 行追加2 行削除
  1. 2 2
      initfiles/componentfiles/thor/start_slaves

+ 2 - 2
initfiles/componentfiles/thor/start_slaves

@@ -68,8 +68,8 @@ ulimit -n $handlelimit
 echo "slave(s) starting `date`"
 
 # sync to current master thorgroup
-echo rsync $master:$instancedir/thorgroup $instancedir/thorgroup.slave
-rsync $master:$instancedir/thorgroup $instancedir/thorgroup.slave
+echo rsync -e "ssh -o StrictHostKeyChecking=no" $master:$instancedir/thorgroup $instancedir/thorgroup.slave
+rsync -e "ssh -o StrictHostKeyChecking=no" $master:$instancedir/thorgroup $instancedir/thorgroup.slave
 
 let "slavenum = 1";
 for slave in $(cat $instancedir/thorgroup.slave); do