2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Handle IPv6 not set on IPMI nodes

This commit is contained in:
Jarrod Johnson 2023-01-13 11:07:13 -05:00
parent 50c073670d
commit a09e1a3f8b

View File

@ -741,8 +741,8 @@ class IpmiHandler(object):
ipv4gateway=lancfg['ipv4_gateway'],
ipv4cfgmethod=lancfg['ipv4_configuration'],
hwaddr=lancfg['mac_address'],
staticv6addrs=v6cfg['static_addrs'],
staticv6gateway=v6cfg['static_gateway'],
staticv6addrs=v6cfg.get('static_addrs', ''),
staticv6gateway=v6cfg.get('static_gateway', '')],
))
elif self.op == 'update':
config = self.inputdata.netconfig(self.node)