try to match with || again
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
92cbfa951b
commit
2f96602bed
8 changed files with 27 additions and 20 deletions
|
|
@ -28,10 +28,11 @@ pass="$1"; shift
|
|||
cluster="$1"; shift
|
||||
count="$1"; shift
|
||||
|
||||
set -x
|
||||
for i in $(seq 1 16); do
|
||||
num=$(printf "%0.2d" $i)
|
||||
echo Trying $cluster/${num}:
|
||||
|
||||
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}-ra${num} power on
|
||||
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}-ra${num} power status
|
||||
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}${num}-ra power on &
|
||||
ipmitool -U "$user" -P "$pass" -I lanplus -H ${cluster}${num}-ra power status &
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue