summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 22:37:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 22:37:21 -0300
commit4650fd7e815b890e2eb92555c122c61932bbe17b (patch)
treee8a0bc6ed72b7167d226f0bca21c45adf43be67d
parent3c21b236c8225633b5d3c4efce46968703cb824e (diff)
downloadhydra-4650fd7e815b890e2eb92555c122c61932bbe17b.tar.gz
hydra-4650fd7e815b890e2eb92555c122c61932bbe17b.tar.bz2
Fixing commands
-rwxr-xr-xshare/hydra/mass6
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
}