diff options
-rwxr-xr-x | tcwg-benchmark.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh index 6ca548f1..81259204 100755 --- a/tcwg-benchmark.sh +++ b/tcwg-benchmark.sh @@ -252,7 +252,9 @@ while [ $tries_left != 0 ]; do if ! ssh "$boardname" true || $force_power_cycle; then echo "Trying to power-cycle $boardname" ( - nvidia-power-cycle.sh "${boardname%.tcwglab}" + pdu_name=$(echo "${boardname%.tcwglab}" \ + | sed -e 's/^tcwg-bmk-/tcwg-/') + nvidia-power-cycle.sh "$pdu_name" wait_for_ssh_server "$boardname" 22 100 ) & wait $! || exit $EXTERNAL_FAIL |