From 022ba77298c93972d02a38767953726bbfdcae47 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 7 Aug 2020 11:42:13 -0400 Subject: [PATCH] Fix dhcp configuration dhcp method was not accurately fed into os deployment --- confluent_server/confluent/netutil.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/netutil.py b/confluent_server/confluent/netutil.py index a2af2f08..30f5cc12 100644 --- a/confluent_server/confluent/netutil.py +++ b/confluent_server/confluent/netutil.py @@ -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: