Compare commits
5 Commits
master
...
2-allow-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8548c9cf43 | ||
|
|
6ca78f0eee | ||
|
|
0a045b67a5 | ||
|
|
f191669948 | ||
|
|
f1002bc405 |
@ -38,4 +38,5 @@ services:
|
||||
- IDRAC_USER=root # set to your IPMI username
|
||||
- IDRAC_PW=calvin # set to your IPMI password
|
||||
- FAN_SPEED=0x05 # set to the decimal or hexadecimal value you want to set the fans to (from 0 to 100%)
|
||||
- MAXTEMP=32 # set the maximum temperature (in celcius) before dynamic fan control kicks back in, optional, defaults to 32
|
||||
```
|
||||
|
||||
@ -5,9 +5,9 @@ IPMIUSER=`cat /user.txt`
|
||||
IPMIPW=`cat /pw.txt`
|
||||
DECIMAL_FAN_SPEED=`cat /decimal_fan_speed.txt`
|
||||
HEXADECIMAL_FAN_SPEED=`cat /hexadecimal_fan_speed.txt`
|
||||
|
||||
MAXTEMP=32
|
||||
|
||||
|
||||
if [[ $IPMIHOST == "local" ]]
|
||||
then
|
||||
LOGIN_STRING='open'
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
echo $IDRAC_HOST >> /host.txt
|
||||
echo $IDRAC_USER >> /user.txt
|
||||
echo $IDRAC_PW >> /pw.txt
|
||||
echo ${MAXTEMP:-32} >> /maxtemp.txt
|
||||
|
||||
if [[ $FAN_SPEED == 0x* ]]
|
||||
then
|
||||
@ -23,3 +24,4 @@ then
|
||||
echo "PW: `cat /pw.txt`"
|
||||
fi
|
||||
echo "Fan speed objective: `cat /decimal_fan_speed.txt`%"
|
||||
echo "Max temp: `cat /maxtemp.txt`"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user