Local iDRAC management
This commit is contained in:
parent
885e899222
commit
82d94b6733
3 changed files with 25 additions and 10 deletions
|
|
@ -1,9 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo $IDRAC_HOST >> /host.txt
|
||||
echo $IDRAC_USER >> /user.txt
|
||||
echo $IDRAC_PW >> /pw.txt
|
||||
echo $FANSPEED >> /fanspeed.txt
|
||||
|
||||
echo "Host: `cat /host.txt`"
|
||||
echo "User: `cat /user.txt`"
|
||||
echo "PW: `cat /pw.txt`"
|
||||
if [[ $IDRAC_HOST != "local" ]]
|
||||
then
|
||||
echo "User: `cat /user.txt`"
|
||||
echo "PW: `cat /pw.txt`"
|
||||
fi
|
||||
echo "Fan speed `cat /fanspeed.txt`"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue