diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-12 09:52:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-12 09:52:05 +0200 |
commit | 7d6a52c0dca2e2d26d8e82d1881ae824fdb2cf81 (patch) | |
tree | 26a8a0d874ac8877207a1462d6a30681385947b2 | |
parent | 5dae0186dea1e72e73bf223161620cfeddef5a63 (diff) | |
download | guix-7d6a52c0dca2e2d26d8e82d1881ae824fdb2cf81.tar guix-7d6a52c0dca2e2d26d8e82d1881ae824fdb2cf81.tar.gz |
system: Fix the default /etc/hosts.
* gnu/system.scm (default-/etc/hosts): Fix the alias/address order.
Add ::1.
-rw-r--r-- | gnu/system.scm | 4 |
1 files changed, 2 insertions, 2 deletions
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") |