2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix nodediscover support of bmc_gateway

The command expected spaces, but documentation
said underscore, support both old csvs and doc
compliant csvs.
This commit is contained in:
Jarrod Johnson 2019-07-11 15:36:31 -04:00
parent 6ad1ce4df5
commit a0ea8eeae3

View File

@ -92,6 +92,8 @@ def process_header(header):
fields.append('hardwaremanagement.manager')
elif datum in ('bmc gateway', 'xcc gateway', 'imm gateway'):
fields.append('net.bmc.ipv4_gateway')
elif datum in ('bmc_gateway', 'xcc_gateway', 'imm_gateway'):
fields.append('net.bmc.ipv4_gateway')
elif datum in ('bmcuser', 'username', 'user'):
fields.append('secret.hardwaremanagementuser')
elif datum in ('bmcpass', 'password', 'pass'):