diff options
-rwxr-xr-x | share/hydra/mass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydra/mass b/share/hydra/mass index 1745df3..0e69c01 100755 --- a/share/hydra/mass +++ b/share/hydra/mass @@ -8,7 +8,7 @@ function mass_pssh { echo "Issuing $COMMAND on multiple nodes..." hydra_set_tmpfile nodes hydra $HYDRA nodes > $TMPWORK - parallel-ssh -P -h $TMPWORK $COMMAND + parallel-ssh -P -h $TMPWORK sudo $COMMAND hydra_unset_tmpfile $TMPWORK } @@ -26,7 +26,7 @@ function mass_dish { echo "Issuing $COMMAND on multiple nodes..." hydra_set_tmpfile nodes hydra $HYDRA nodes > $TMPWORK - dish -f -p /dev/null -e "$COMMAND" -g $TMPWORK + dish -f -p /dev/null -e "sudo $COMMAND" -g $TMPWORK hydra_unset_tmpfile $TMPWORK } @@ -35,7 +35,7 @@ function mass_mussh { echo "Issuing $COMMAND on multiple nodes..." hydra_set_tmpfile nodes hydra $HYDRA nodes > $TMPWORK - mussh -H $TMPWORK -c "$COMMAND" + mussh -H $TMPWORK -c "sudo $COMMAND" hydra_unset_tmpfile $TMPWORK } |