diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-06-20 10:33:56 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-06-20 10:43:49 +0200 |
commit | eb3d3b6513cf027bd12b999cf9c892cfd5af486b (patch) | |
tree | 9837dffb2f3c5e7ced37a8a27e4cbd6997cf224d /src/conf_mode/host_name.py | |
parent | e10c17fd10fb6b872042046a85427e4056584082 (diff) | |
download | vyos-1x-eb3d3b6513cf027bd12b999cf9c892cfd5af486b.tar.gz vyos-1x-eb3d3b6513cf027bd12b999cf9c892cfd5af486b.zip |
T1458: Regression in 1.2.1-S2 hostname & logging
Diffstat (limited to 'src/conf_mode/host_name.py')
-rwxr-xr-x | src/conf_mode/host_name.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/host_name.py b/src/conf_mode/host_name.py index 0f1c9bfaa..a0ed815ae 100755 --- a/src/conf_mode/host_name.py +++ b/src/conf_mode/host_name.py @@ -41,7 +41,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 |