Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 580 Bytes

setup-hw.md

File metadata and controls

18 lines (13 loc) · 580 Bytes

Hardware Auto Configuration

setup-hw is a tool to configure BMC and BIOS of the running server.

How to run setup-hw

  1. Run setup-hw container as a system service. See README.
  2. Prepare /etc/neco/bmc-address.json and /etc/neco/bmc-user.json. See config page.
  3. Use docker exec to run setup-hw inside the container.
  4. If setup-hw exits with status code 10, the server need to be rebooted.
$ docker exec setup-hw setup-hw
$ if [ $? -eq 10 ]; then sudo reboot; fi