mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
system: Fix the default /etc/hosts.
* gnu/system.scm (default-/etc/hosts): Fix the alias/address order. Add ::1.
This commit is contained in:
parent
5dae0186de
commit
7d6a52c0dc
1 changed files with 2 additions and 2 deletions
|
@ -268,8 +268,8 @@ (define %default-issue
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue