Created
August 28, 2023 08:14
-
-
Save svenk/f300f898e884fec87466d40de47ca9ba to your computer and use it in GitHub Desktop.
HP ILo reset factory default from live linux
This file contains hidden or 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 | |
# 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