diff --git a/broker.sh b/broker.sh index 77fb269..df4f111 100755 --- a/broker.sh +++ b/broker.sh @@ -1008,6 +1008,16 @@ stage_scripts () { ###################################################################### # Remote dealing +reboot_hosts () { + local clstr_name=$* + if construst_cluster_info $clstr_name; then + pr_host_list + if [[ -z $TESTING_MODE ]]; then + execute_on_nodes "sudo reboot" + fi + fi +} + ssh_tty_to_host () { local host=$1 shift