2023-09-01 15:42:25 -04:00
|
|
|
iface ipmi inet manual
|
|
|
|
pre-up ipmitool lan set 1 ipsrc static
|
2023-09-01 15:42:28 -04:00
|
|
|
pre-up ipmitool lan set 1 ipaddr {{ ipmi['hosts'][inventory_hostname.split('.')[0]]['address'] }}
|
|
|
|
pre-up ipmitool lan set 1 netmask {{ ipmi['hosts'][inventory_hostname.split('.')[0]]['netmask'] }}
|
|
|
|
pre-up ipmitool lan set 1 defgw ipaddr {{ ipmi['hosts'][inventory_hostname.split('.')[0]]['gateway'] }}
|