Jens Sandmann has proposed merging
~b1sandmann/cloud-init:fix-hostnames-for-suse into cloud-init:master.
Requested reviews:
cloud-init commiters (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~b1sandmann/cloud-init/+git/cloud-init/+merge/325476
Add the hostname and fully qualified domain name to the /etc/hosts suse
template. The other templates already included this lines but somehow suse did
not.
--
Your team cloud-init commiters is requested to review the proposed merge of
~b1sandmann/cloud-init:fix-hostnames-for-suse into cloud-init:master.
diff --git a/templates/hosts.suse.tmpl b/templates/hosts.suse.tmpl
index b608269..399ec9b 100644
--- a/templates/hosts.suse.tmpl
+++ b/templates/hosts.suse.tmpl
@@ -14,9 +14,12 @@ you need to add the following to config:
#
# The following lines are desirable for IPv4 capable hosts
127.0.0.1 localhost
+127.0.0.1 {{fqdn}} {{hostname}}
+
# The following lines are desirable for IPv6 capable hosts
::1 localhost ipv6-localhost ipv6-loopback
+::1 {{fqdn}} {{hostname}}
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
_______________________________________________
Mailing list: https://launchpad.net/~cloud-init-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help : https://help.launchpad.net/ListHelp