From 7d6a52c0dca2e2d26d8e82d1881ae824fdb2cf81 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 12 Sep 2014 09:52:05 +0200 Subject: system: Fix the default /etc/hosts. * gnu/system.scm (default-/etc/hosts): Fix the alias/address order. Add ::1. --- gnu/system.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/system.scm b/gnu/system.scm index 9bdf227eca..393b896335 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -268,8 +268,8 @@ This is the GNU system. Welcome.\n") (define (default-/etc/hosts host-name) "Return the default /etc/hosts file." (text-file "hosts" - (string-append "localhost 127.0.0.1\n" - host-name " 127.0.0.1\n"))) + (string-append "127.0.0.1 localhost " host-name "\n" + "::1 localhost " host-name "\n"))) (define* (etc-directory #:key (locale "C") (timezone "Europe/Paris") -- cgit 1.4.1