fix empty network_hosts_entries
This commit is contained in:
parent
e32f3c6309
commit
2e0e7d7b52
@ -7,6 +7,8 @@
|
||||
{% if network_hostname is defined and network_fqdn is defined and network_interfaces[network_defaultif].ipaddr is defined %}
|
||||
{{ network_interfaces[network_defaultif].ipaddr }} {{ network_fqdn }} {{ network_hostname }}
|
||||
{% endif %}
|
||||
{% if network_hosts_entries %}
|
||||
{% for item in network_hosts_entries %}
|
||||
{{ item.address }} {{ item.fqdn }} {{ item.hostname }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user