summaryrefslogtreecommitdiff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-09-26 00:07:42 +0200
committerLudovic Courtès <ludo@gnu.org>2013-09-26 00:07:42 +0200
commit349746dfcd9a07e3b5908d459d0800fd5d44c3b9 (patch)
treec2cdcbd00e92fba3ac7ed0c894b2ace44c9af2f2 /gnu/system/vm.scm
parentde8bcdaeb5a828d8cee85f8700e23e15b49f4e24 (diff)
downloadguix-patches-349746dfcd9a07e3b5908d459d0800fd5d44c3b9.tar
guix-patches-349746dfcd9a07e3b5908d459d0800fd5d44c3b9.tar.gz
gnu: vm: Add nscd service.
* gnu/system/dmd.scm (nscd-service): New procedure. * gnu/system/vm.scm (system-qemu-image): Use it. Make /var/run/nscd.
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r--gnu/system/vm.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index b873386606..0ed805510a 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -456,6 +456,7 @@ Happy birthday, GNU! http://www.gnu.org/gnu30
(mingetty-service store "tty6")
(syslog-service store)
(guix-service store #:guix guix-0.4)
+ (nscd-service store)
;; QEMU networking settings.
(static-networking-service store "eth0" "10.0.2.10")))
@@ -517,8 +518,8 @@ You can log in as 'root' with no password.
"))
(populate `((directory "/etc")
- (directory "/var/log")
- (directory "/var/run")
+ (directory "/var/log") ; for dmd
+ (directory "/var/run/nscd")
("/etc/shadow" -> ,shadow)
("/etc/passwd" -> ,passwd)
("/etc/login.defs" -> "/dev/null")