Skip to content

Instantly share code, notes, and snippets.

@svenk
Created August 28, 2023 08:14
Show Gist options
  • Save svenk/f300f898e884fec87466d40de47ca9ba to your computer and use it in GitHub Desktop.
Save svenk/f300f898e884fec87466d40de47ca9ba to your computer and use it in GitHub Desktop.
HP ILo reset factory default from live linux
#!/bin/bash
# This script can run on GRML and allows the installation of the HP Integrated Lights Out (ILo)
# managament utility to reset the tools password.
wget http://downloads.linux.hpe.com/SDR/repo/mcp/pool/non-free/hponcfg-5.6.0-0_amd64.deb
apt-get update
apt-get install xsltproc
apt-get install ./hponcfg-5.6.0-0_amd64.deb
# show serial number of IlO
hponcfg -g
# ILO reset to factory default (resets both to DHCP and default password)
# alternatively, see this for setting a specific password:
# https://blog.tinned-software.net/set-the-ilo-password-from-linux-using-hponcfg/
# The factory reset takes up to 60 seconds
hponcfg -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment