summaryrefslogtreecommitdiff
path: root/data/templates/vyos-hostsd/hosts.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/vyos-hostsd/hosts.tmpl')
-rw-r--r--data/templates/vyos-hostsd/hosts.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/vyos-hostsd/hosts.tmpl b/data/templates/vyos-hostsd/hosts.tmpl
index 03662d562..0875adfd8 100644
--- a/data/templates/vyos-hostsd/hosts.tmpl
+++ b/data/templates/vyos-hostsd/hosts.tmpl
@@ -3,7 +3,7 @@
# Local host
127.0.0.1 localhost
-127.0.1.1 {{ host_name }}{% if domain_name %}.{{ domain_name }} {{ host_name }}{% endif %}
+127.0.1.1 {{ host_name }}
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback