guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/36: DRAFT: hurd: use static-networking instead of dummy loopback hack


From: guix-commits
Subject: 14/36: DRAFT: hurd: use static-networking instead of dummy loopback hack.
Date: Fri, 1 May 2020 11:53:58 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 38df5adf3f8ba28b17c2715cd97737ab2b306981
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Fri May 1 17:00:24 2020 +0200

    DRAFT: hurd: use static-networking instead of dummy loopback hack.
---
 gnu/system/hurd.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index ad66c7c..f546452 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -76,7 +76,12 @@
                  (hurd-console-configuration (hurd hurd)))
         (service hurd-ttys-service-type
                  (hurd-ttys-configuration (hurd hurd)))
-        (service hurd-loopback-service-type)
+        ;; Loopback device, needed by OpenSSH notably.
+        (service static-networking-service-type
+                 (list (static-networking (interface "lo")
+                                          (ip "127.0.0.1")
+                                          (requirement '())
+                                          (provision '(loopback)))))
         (syslog-service)))
 
 (define %hurd-os



reply via email to

[Prev in Thread] Current Thread [Next in Thread]