282.1.5
by Scott Moser
* Reads the currently set value in /etc/cloud/cloud.cfg.d/90_dpkg.cfg to |
1 |
#*
|
2 |
This file /etc/cloud/templates/hosts.suse.tmpl is only utilized
|
|
3 |
if enabled in cloud-config. Specifically, in order to enable it
|
|
4 |
you need to add the following to config:
|
|
5 |
manage_etc_hosts: True
|
|
6 |
*#
|
|
7 |
# Your system has configured 'manage_etc_hosts' as True.
|
|
8 |
# As a result, if you wish for changes to this file to persist
|
|
9 |
# then you will need to either
|
|
10 |
# a.) make changes to the master file in /etc/cloud/templates/hosts.suse.tmpl
|
|
11 |
# b.) change or remove the value of 'manage_etc_hosts' in
|
|
12 |
# /etc/cloud/cloud.cfg or cloud-config from user-data
|
|
13 |
#
|
|
14 |
# The following lines are desirable for IPv4 capable hosts
|
|
15 |
127.0.0.1 localhost
|
|
16 |
||
17 |
# The following lines are desirable for IPv6 capable hosts
|
|
18 |
::1 localhost ipv6-localhost ipv6-loopback
|
|
19 |
fe00::0 ipv6-localnet
|
|
20 |
||
21 |
ff00::0 ipv6-mcastprefix
|
|
22 |
ff02::1 ipv6-allnodes
|
|
23 |
ff02::2 ipv6-allrouters
|
|
24 |
ff02::3 ipv6-allhosts
|