17 lines
825 B
Django/Jinja
17 lines
825 B
Django/Jinja
# Your system has configured 'manage_etc_hosts' as True.
|
|
# As a result, if you wish for changes to this file to persist
|
|
# then you will need to either
|
|
# a.) make changes to the master file in /etc/cloud/templates/hosts.redhat.tmpl
|
|
# b.) change or remove the value of 'manage_etc_hosts' in
|
|
# /etc/cloud/cloud.cfg or cloud-config from user-data
|
|
#
|
|
# The following lines are desirable for IPv4 capable hosts
|
|
{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.{{ my_domain }} {{ ansible_hostname }}
|
|
127.0.0.1 localhost.localdomain localhost
|
|
127.0.0.1 localhost4.localdomain4 localhost4
|
|
|
|
# The following lines are desirable for IPv6 capable hosts
|
|
{{ ansible_default_ipv6.address }} {{ ansible_hostname }}.{{ my_domain }} {{ ansible_hostname }}
|
|
::1 localhost.localdomain localhost
|
|
::1 localhost6.localdomain6 localhost6
|