diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-20 17:57:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-07-20 18:03:11 +0200 |
commit | 264967c883d32606c18b378f717c303e7490c942 (patch) | |
tree | 1624b9c4122f5e6ffcd0945071fb5ed3f1620ea6 /gnu/system | |
parent | eb9c0d20f9d7d8c0366c9362cef27ac2d2191041 (diff) | |
download | gnu-guix-264967c883d32606c18b378f717c303e7490c942.tar gnu-guix-264967c883d32606c18b378f717c303e7490c942.tar.gz |
install: Add service for the loopback device.
Lack of a loopback device prevented the system from building starting
from commit 363c946b36a77aa6f0e60b8c93a171d2e649164f.
* gnu/system/install.scm (%installation-services): Add
'static-networking-service-type' instance for 'lo'.
Diffstat (limited to 'gnu/system')
-rw-r--r-- | gnu/system/install.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 6a3ae1947b..95661dc973 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -298,6 +298,13 @@ You have been warned. Thanks for being so brave.\x1b[0m `(("/bin/sh" ,(file-append (canonical-package bash) "/bin/sh")))) + ;; Loopback device, needed by OpenSSH notably. + (service static-networking-service-type + (list (static-networking (interface "lo") + (ip "127.0.0.1") + (requirement '()) + (provision '(loopback))))) + ;; Keep a reference to BARE-BONES-OS to make sure it can be ;; installed without downloading/building anything. Also keep the ;; things needed by 'profile-derivation' to minimize the amount of |