Skip to content

Instantly share code, notes, and snippets.

@oleksiialeksieiev
Last active September 22, 2015 18:22
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 oleksiialeksieiev/1e1f8a0f2bff45c102b7 to your computer and use it in GitHub Desktop.
Save oleksiialeksieiev/1e1f8a0f2bff45c102b7 to your computer and use it in GitHub Desktop.
# http://www.mikesaysmeh.com/how-to-restart-dell-idrac/
# reset iDrack web
racadm racreset soft
racadm getsysinfo
sshpass -p pass ssh user@IP racadm config -g cfgIpmiLan -o cfgIpmiLanEnable 1
# set pxe and reboot
ipmitool -I lanplus -H IP -U user -P pass chassis bootdev pxe && ipmitool -I lanplus -H IP -U user -P pass chassis power cycle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment