Skip to content

Latest commit

 

History

History
61 lines (46 loc) · 1.2 KB

config.md

File metadata and controls

61 lines (46 loc) · 1.2 KB

Configuration Files

/etc/neco/bmc-address.json

The file contains a JSON object like this:

{
    "ipv4": {
        "address": "1.2.3.4",
        "netmask": "255.255.255.0",
        "gateway": "1.2.3.1"
    }
}

BMC network interface will be configured to have the given address.

/etc/neco/bmc-user.json

This file contains credentials of BMC users.

BMC users are statically defined in setup-hw as follows:

  • root: The administrator of BMC.
  • repair: Restricted user who can execute repair operations, e.g. BMC reset.
  • power: Restricted user who can control power supply.
  • support: Read-only account.

All users are mandatory for iDRAC.

Credential types are:

  • Raw password
  • Hashed password with salt
    For iDRAC, use idrac-passwd-hash tool to generate them.

Supported credential types varies by BMC types. iDRAC supports all credential types.

Example:

{
    "root": {
        "password": {
            "raw": "raw password"
        }
    },
    "power": {
        "password": {
            "hash": "hashed_secret",
            "salt": "salt for hash"
        }
    }
}