diff options
-rwxr-xr-x | share/hydra/mass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/share/hydra/mass b/share/hydra/mass index 401d1af..1745df3 100755 --- a/share/hydra/mass +++ b/share/hydra/mass @@ -4,12 +4,11 @@ # # Issue commands with pssh -# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549117 function mass_pssh { echo "Issuing $COMMAND on multiple nodes..." hydra_set_tmpfile nodes hydra $HYDRA nodes > $TMPWORK - parallel-ssh -h $TMPWORK -p 4 $COMMAND + parallel-ssh -P -h $TMPWORK $COMMAND hydra_unset_tmpfile $TMPWORK } @@ -36,7 +35,7 @@ function mass_mussh { echo "Issuing $COMMAND on multiple nodes..." hydra_set_tmpfile nodes hydra $HYDRA nodes > $TMPWORK - mussh -b -H $TMPWORK -c "$COMMAND" + mussh -H $TMPWORK -c "$COMMAND" hydra_unset_tmpfile $TMPWORK } @@ -62,4 +61,4 @@ fi # Execute commands in hosts BASEDIR="/tmp" -mass_mussh $COMMAND +mass_pssh $COMMAND |