Add domain field to resolv.conf
- For legacy code that relies on shortname DNS resolution, add a entry for the domain in the rendered /etc/resolv.conf Change-Id: I67af9e242cc31aac57db3aa6a8327a8de72cba9e
This commit is contained in:
parent
0233c30ffb
commit
9f61ead791
@ -1,4 +1,5 @@
|
||||
options timeout:1 attempts:1
|
||||
domain {{ config.get_first('Genesis:domain', 'KubernetesNode:domain', default='local') }}
|
||||
|
||||
nameserver {{ config['KubernetesNetwork:dns.service_ip'] }}
|
||||
{% for server in config['KubernetesNetwork:dns.upstream_servers'] | default([]) %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user