2
0
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:
Jarrod Johnson 2020-08-07 11:42:13 -04:00
parent 1d6a5fc329
commit 022ba77298

View File

@ -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: