From: thierry Date: Sun, 10 Jan 2010 20:29:44 +0000 (+0000) Subject: convenience X-Git-Tag: foo~227 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5b61863791f2e5403df2df05bc227616320bcd08;p=infrastructure.git convenience --- diff --git a/scripts/reboot-all.sh b/scripts/reboot-all.sh new file mode 100755 index 0000000..cf2131b --- /dev/null +++ b/scripts/reboot-all.sh @@ -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