aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-04-09 00:12:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-04-09 00:12:48 -0300
commit72d6838fcba5b56a864a678b1214b3933c7cfde7 (patch)
tree9e5df2b771f432f719e4d0668f96432f9d6ab28a
parent298bdbf39b7658f09b3e9ce56cb5249088d0a34a (diff)
downloadhydra-72d6838fcba5b56a864a678b1214b3933c7cfde7.tar.gz
hydra-72d6838fcba5b56a864a678b1214b3933c7cfde7.tar.bz2
Back to pssh, but without timeout
-rwxr-xr-xshare/hydra/mass4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydra/mass b/share/hydra/mass
index f5df37f..a7205e0 100755
--- a/share/hydra/mass
+++ b/share/hydra/mass
@@ -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