From 32794611f3597d46d8abf1fe45422a23180ea26f Mon Sep 17 00:00:00 2001 From: Lars Beckers <lars.beckers@rwth-aachen.de> Date: Thu, 4 Feb 2016 05:15:21 +0059 Subject: [PATCH] a computer should only be part of one domain --- client/templates/hosts.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/templates/hosts.j2 b/client/templates/hosts.j2 index 8d6e15a..53bd1f0 100644 --- a/client/templates/hosts.j2 +++ b/client/templates/hosts.j2 @@ -1,5 +1,5 @@ 127.0.0.1 localhost -127.0.1.1 {{ inventory_hostname }}.{{ domain[0] }} {{ inventory_hostname }} +127.0.1.1 {{ inventory_hostname }}.{{ domain }} {{ inventory_hostname }} # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback -- GitLab