Created
July 10, 2018 05:36
-
-
Save pandada8/a9faa2fd309da9e34556c2cceb877f4e to your computer and use it in GitHub Desktop.
idrac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
host="10.9.0.1" | |
pw="root" | |
user="root" | |
ipmitool -I lanplus -H $host -U $user -P $pw power on; | |
sleep 1; | |
ipmitool -I lanplus -H $host -U $user -P $pw raw 0x30 0x30 0x01 0x00; | |
ipmitool -I lanplus -H $host -U $user -P $pw raw 0x30 0x30 0x02 0xff 0x10; # could be 0x00 - 0xff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment