From 97b71cf5bb941811fb9513a8f62ae979fe46ca6d Mon Sep 17 00:00:00 2001 From: Jens Sandmann Date: Mon, 12 Jun 2017 11:43:37 +0200 Subject: suse: add hostname and fully qualified domain to template. This just adds an entry for hostname and fqdn to 127.0.0.1 in templates/hosts.suse.tmpl. --- templates/hosts.suse.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates') diff --git a/templates/hosts.suse.tmpl b/templates/hosts.suse.tmpl index b6082692..399ec9b4 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 -- cgit v1.2.3