From 06e6ae3bac7cd39341c0b19b570020649d725344 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Thu, 20 Jun 2019 10:33:56 +0200 Subject: T1458: Regression in 1.2.1-S2 hostname & logging --- src/conf_mode/host_name.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conf_mode/host_name.py b/src/conf_mode/host_name.py index 13b2b98ae..b0a4648c7 100755 --- a/src/conf_mode/host_name.py +++ b/src/conf_mode/host_name.py @@ -42,7 +42,8 @@ config_file_resolv = '/etc/resolv.conf' config_tmpl_hosts = """ ### Autogenerated by host_name.py ### -127.0.0.1 localhost {{ hostname }}{% if domain_name %}.{{ domain_name }}{% endif %} +127.0.0.1 localhost +127.0.1.1 {{ hostname }}{% if domain_name %}.{{ domain_name }}{% endif %} # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback -- cgit v1.2.3