mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-17 02:58:51 +00:00
Have firmwaredhcp become static to OS
This commit is contained in:
parent
585988b22a
commit
704e8379f0
@ -88,6 +88,8 @@ def handle_request(env, start_response):
|
||||
ncfg = netutil.get_nic_config(cfg, nodename, serverip=myip)
|
||||
if ncfg['prefix']:
|
||||
ncfg['ipv4_netmask'] = netutil.cidr_to_mask(ncfg['prefix'])
|
||||
if ncfg['ipv4_method'] == 'firmwaredhcp':
|
||||
ncfg['ipv4_method'] = 'static'
|
||||
deployinfo = cfg.get_node_attributes(
|
||||
nodename, ('deployment.*', 'console.method', 'crypted.*',
|
||||
'dns.*', 'ntp.*'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user