Skip to content

Instantly share code, notes, and snippets.

@pandada8
Created July 10, 2018 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandada8/a9faa2fd309da9e34556c2cceb877f4e to your computer and use it in GitHub Desktop.
Save pandada8/a9faa2fd309da9e34556c2cceb877f4e to your computer and use it in GitHub Desktop.
idrac
#!/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