[ETH] add script to reboot cluster
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
e8e6ad2df6
commit
5f251452ef
1 changed files with 3 additions and 0 deletions
3
eth/dryad-reboot.sh
Normal file
3
eth/dryad-reboot.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Reboot the entire cluster & send mail to me
|
||||
dsh -g dryad -c "(uptime; dmesg) | mail -s \"\$(hostname) down at \$(date)\" nicosc@inf.ethz.ch && reboot"
|
Loading…
Reference in a new issue