aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-27 22:55:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-27 22:55:40 -0300
commit4c9cd16da33d753c1957d95742a7309136d5fe6e (patch)
treee1d5d03d784f6c474b8e254a42fdf9ce65733e45
parent71b49674073f8ca471a95f62c2552ad03842bab4 (diff)
downloadhydra-4c9cd16da33d753c1957d95742a7309136d5fe6e.tar.gz
hydra-4c9cd16da33d753c1957d95742a7309136d5fe6e.tar.bz2
Cleanup
-rwxr-xr-xshare/hydra/deploy2
-rwxr-xr-xshare/hydra/mass6
2 files changed, 4 insertions, 4 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index e21a9d9..b2cc4db 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -9,7 +9,7 @@ hydra_config_load
# Command line arguments
NODES="$*"
-COMMIT="25f646eb863420258938c13956447acdafc4ef0a"
+COMMIT="71b49674073f8ca471a95f62c2552ad03842bab4"
# Build node list
if [ -z "$NODES" ]; then
diff --git a/share/hydra/mass b/share/hydra/mass
index 142c687..64ad8e0 100755
--- a/share/hydra/mass
+++ b/share/hydra/mass
@@ -7,7 +7,7 @@
function mass_pssh {
echo "Issuing $COMMAND on multiple nodes..."
hydra_set_tmpfile nodes
- hydra $HYDRA nodes > $TMPWORK
+ echo $NODES > $TMPWORK
parallel-ssh -t 40 -P -h $TMPWORK sudo $COMMAND
hydra_unset_tmpfile $TMPWORK
}
@@ -25,7 +25,7 @@ function mass_loop {
function mass_dish {
echo "Issuing $COMMAND on multiple nodes..."
hydra_set_tmpfile nodes
- hydra $HYDRA nodes > $TMPWORK
+ echo $NODES > $TMPWORK
dish -f -p /dev/null -e "sudo $COMMAND" -g $TMPWORK
hydra_unset_tmpfile $TMPWORK
}
@@ -34,7 +34,7 @@ function mass_dish {
function mass_mussh {
echo "Issuing $COMMAND on multiple nodes..."
hydra_set_tmpfile nodes
- hydra $HYDRA nodes > $TMPWORK
+ echo $NODES > $TMPWORK
mussh -H $TMPWORK -c "sudo $COMMAND"
hydra_unset_tmpfile $TMPWORK
}