1## template:jinja 2{# 3This file /etc/cloud/templates/hosts.suse.tmpl is only utilized 4if enabled in cloud-config. Specifically, in order to enable it 5you need to add the following to config: 6 manage_etc_hosts: True 7-#} 8# Your system has configured 'manage_etc_hosts' as True. 9# As a result, if you wish for changes to this file to persist 10# then you will need to either 11# a.) make changes to the master file in /etc/cloud/templates/hosts.suse.tmpl 12# b.) change or remove the value of 'manage_etc_hosts' in 13# /etc/cloud/cloud.cfg or cloud-config from user-data 14# 15# The following lines are desirable for IPv4 capable hosts 16127.0.1.1 {{fqdn}} {{hostname}} 17127.0.0.1 localhost.localdomain localhost 18127.0.0.1 localhost4.localdomain4 localhost4 19 20# The following lines are desirable for IPv6 capable hosts 21::1 {{fqdn}} {{hostname}} 22::1 localhost.localdomain localhost 23::1 localhost6.localdomain6 localhost6 24::1 localhost ipv6-localhost ipv6-loopback 25 26 27fe00::0 ipv6-localnet 28ff00::0 ipv6-mcastprefix 29ff02::1 ipv6-allnodes 30ff02::2 ipv6-allrouters 31ff02::3 ipv6-allhosts 32 33