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:
parent
50c073670d
commit
a09e1a3f8b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user