From 84407e3d2b67ee17c76064faae2c4bd2526debb3 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 13 Oct 2022 14:49:09 -0400 Subject: [PATCH] Correct syntax error in pxe handler --- confluent_server/confluent/config/attributes.py | 8 ++++---- confluent_server/confluent/discovery/protocols/pxe.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/confluent_server/confluent/config/attributes.py b/confluent_server/confluent/config/attributes.py index d4c1a31f..5a4c18a6 100644 --- a/confluent_server/confluent/config/attributes.py +++ b/confluent_server/confluent/config/attributes.py @@ -456,10 +456,10 @@ node = { }, 'net.interface_names': { 'description': 'Interface name or comma delimited list of names to match for this interface. It is generally recommended ' - 'to leave this blank unless needing to set up interfaces that are not on a common subnet with a confluent server, ' - 'as confluent servers provide autodetection for matching the correct network definition to an interface.' - 'This would be the default name per the deployed OS and can be a comma delimited list to denote members of ' - 'a team' + 'to leave this blank unless needing to set up interfaces that are not on a common subnet with a confluent server, ' + 'as confluent servers provide autodetection for matching the correct network definition to an interface.' + 'This would be the default name per the deployed OS and can be a comma delimited list to denote members of ' + 'a team' }, 'net.ipv4_address': { 'description': 'When configuring static, use this address. If ' diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index 65e41f5e..d3efa1e0 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -583,7 +583,7 @@ def reply_dhcp6(node, addr, cfg, packet, cfd, profile, sock): if not isinstance(bootfile, bytes): bootfile = bootfile.encode('utf8') ipass = [] - if ipv6method == 'firmwarenone:' + if ipv6method == 'firmwarenone': return if ipv6method not in ('dhcp', 'firmwaredhcp') and ipv6addr: if not ipv6prefix: