Include upstream and short names in hosts
This commit is contained in:
parent
e37f2af6cd
commit
c591b1e39f
|
@ -7,8 +7,9 @@ ff02::1 ip6-allmodes
|
||||||
ff02::2 ip6-allrouters
|
ff02::2 ip6-allrouters
|
||||||
|
|
||||||
{% for node in pvc_nodes %}
|
{% for node in pvc_nodes %}
|
||||||
{{ node.cluster_ip }} {{ node.hostname }}.{{ pvc_cluster_domain }} {{ node.hostname }}
|
{{ node.cluster_ip }} {{ node.hostname.split('.')[0] }}.{{ pvc_cluster_domain }} {{ node.hostname.split('.')[0] }}
|
||||||
{{ node.storage_ip }} {{ node.hostname }}.{{ pvc_storage_domain }}
|
{{ node.storage_ip }} {{ node.hostname.split('.')[0] }}.{{ pvc_storage_domain }}
|
||||||
|
{{ node.upstream_ip }} {{ node.hostname.split('.')[0] }}.{{ local_domain }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if hosts is defined %}
|
{% if hosts is defined %}
|
||||||
|
|
Loading…
Reference in New Issue