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
.
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, useidrac-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"
}
}
}