From 5b61863791f2e5403df2df05bc227616320bcd08 Mon Sep 17 00:00:00 2001 From: thierry Date: Sun, 10 Jan 2010 20:29:44 +0000 Subject: [PATCH] convenience --- scripts/reboot-all.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/reboot-all.sh 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 -- 2.47.0