Permit decimal value for the fan speed
This commit is contained in:
parent
d6499109d3
commit
8316bd1e2c
4 changed files with 21 additions and 9 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
To use,
|
||||
|
||||
`docker run -e IDRAC_HOST=<host ip> -e IDRAC_USER=<username> -e IDRAC_PW=<password> -e FANSPEED=<hex fan speed> alombardo4/idrac-fan-control:latest`
|
||||
`docker run -e IDRAC_HOST=<host ip> -e IDRAC_USER=<username> -e IDRAC_PW=<password> -e FAN_SPEED=<dec or hex fan speed> alombardo4/idrac-fan-control:latest`
|
||||
|
||||
`FANSPEED` should be set as a hex value, e.g. `0x05`
|
||||
`FAN_SPEED` can be set as a decimal or hexadecimal value (0x00 to 0x64). Default value is 5 (%).
|
||||
|
||||
`docker-compose.yml` examples:
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ services:
|
|||
restart: unless-stopped
|
||||
environment:
|
||||
- IDRAC_HOST=local # can be omitted as it is the default value
|
||||
- FANSPEED=0x05 # set to the hex value you want to set the fans to (from 0 to 100%)
|
||||
- FAN_SPEED=0x05 # set to the decimal or hexadecimal value you want to set the fans to (from 0 to 100%)
|
||||
devices:
|
||||
- /dev/ipmi0:/dev/ipmi0
|
||||
```
|
||||
|
|
@ -37,5 +37,5 @@ services:
|
|||
- IDRAC_HOST=192.168.1.100 # override to the IP of your IDRAC
|
||||
- IDRAC_USER=root # set to your IPMI username
|
||||
- IDRAC_PW=calvin # set to your IPMI password
|
||||
- FANSPEED=0x05 # set to the hex value you want to set the fans to (from 0 to 100%)
|
||||
- FAN_SPEED=0x05 # set to the decimal or hexadecimal value you want to set the fans to (from 0 to 100%)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue