mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-23 01:53:28 +00:00
Fix dhcp configuration
dhcp method was not accurately fed into os deployment
This commit is contained in:
parent
1d6a5fc329
commit
022ba77298
@ -220,6 +220,8 @@ def get_nic_config(configmanager, node, ip=None, mac=None, ifidx=None,
|
||||
if ip_on_same_subnet(net, candgw, prefix):
|
||||
candgws.append(candgw)
|
||||
if dhcprequested:
|
||||
if not cfgdata.get('ipv4_method', None):
|
||||
cfgdata['ipv4_method'] = 'dhcp'
|
||||
return cfgdata
|
||||
ipbynodename = None
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user