Commit 64d87e9e authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: add script to ease powercycling arm64 nodes

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent eb3f6fed
#!/bin/bash
# vim: set noexpandtab:
# Copyright 2019 Holger Levsen <holger@layer-acht.org>
# released under the GPLv2
# validate input
for i in $@ ; do
case $i in
9|10|11|12|13|14|15|16) : ;;
*) echo 'invalid parameter.'
exit 1
;;
esac
done
# delegate work
ssh jumpserv.colo.codethink.co.uk ./sled-power-cycle.sh $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment