]> gitweb.fluxo.info Git - hydra.git/commitdiff
Back to pssh, but without timeout
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 9 Apr 2014 03:12:48 +0000 (00:12 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 9 Apr 2014 03:12:48 +0000 (00:12 -0300)
share/hydra/mass

index f5df37fe387905606103f26a45596f41741b49aa..a7205e0c91ffe0c84c9a27011c3aa5bf0c935216 100755 (executable)
@@ -19,7 +19,7 @@
 # Issue commands with pssh
 function mass_pssh {
   hydra_check_command parallel-ssh
-  parallel-ssh -t 120 -P -p 4 -h $TMPWORK sudo $COMMAND
+  parallel-ssh -P -p 4 -h $TMPWORK sudo $COMMAND
 }
 
 # Issue commands with a for loop
@@ -71,5 +71,5 @@ fi
 
 # Execute commands in hosts
 echo "Issuing $COMMAND on multiple nodes..."
-mass_loop $COMMAND
+mass_pssh $COMMAND
 hydra_unset_tmpfile $TMPWORK