convenience
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Sun, 10 Jan 2010 20:29:44 +0000 (20:29 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Sun, 10 Jan 2010 20:29:44 +0000 (20:29 +0000)
scripts/reboot-all.sh [new file with mode: 0755]

diff --git a/scripts/reboot-all.sh b/scripts/reboot-all.sh
new file mode 100755 (executable)
index 0000000..cf2131b
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo 'cleaning trackers on testmaster'
+ssh root@testmaster.onelab.eu rm 'tracker*'
+
+for h in mirror build build2 build3 testplc testqemu1 testqemu2 testqemu3; do
+   echo "rebooting $h.onelab.eu"
+   host $h.onelab.eu
+   ssh root@$h.onelab.eu shutdown -r now
+done