diff --git a/confluent_server/confluent/config/attributes.py b/confluent_server/confluent/config/attributes.py index d8ccadac..44c85248 100644 --- a/confluent_server/confluent/config/attributes.py +++ b/confluent_server/confluent/config/attributes.py @@ -491,7 +491,7 @@ node = { 'description': ('Fingerprint of the SSH key of the OS running on the ' 'system.'), }, - 'services.dns': { + 'dns.servers': { 'description': 'DNS Server or servers to provide to node', }, } diff --git a/confluent_server/confluent/selfservice.py b/confluent_server/confluent/selfservice.py index 166356fb..a12eba1c 100644 --- a/confluent_server/confluent/selfservice.py +++ b/confluent_server/confluent/selfservice.py @@ -115,7 +115,7 @@ def handle_request(env, start_response): ncfg['keymap'] = keymap ncfg['nameservers'] = [] for dns in deployinfo.get( - 'services.dns', {}).get('value', '').split(','): + 'dns.servers', {}).get('value', '').split(','): ncfg['nameservers'].append(dns) start_response('200 OK', (('Content-Type', retype),)) yield dumper(ncfg) @@ -160,4 +160,4 @@ def handle_request(env, start_response): yield 'No pending profile detected, unable to accept status update' else: start_response('404 Not Found', ()) - yield 'Not found' \ No newline at end of file + yield 'Not found'