aboutsummaryrefslogtreecommitdiff
path: root/build-aux/hydra/demo-os.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-27 23:19:49 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-27 23:19:49 +0200
commitaf018f5e0a1b7c67e9f40ca68929bd35b94206d3 (patch)
tree8c3efe66f8ac1f6178357937c0a41c6f5ff8f0f8 /build-aux/hydra/demo-os.scm
parentd84a7be6675bd647931d8eff9134d00dd5a6bd58 (diff)
parent35066aa596931ef84922298c2760ceba69940cd1 (diff)
downloadgnu-guix-af018f5e0a1b7c67e9f40ca68929bd35b94206d3.tar
gnu-guix-af018f5e0a1b7c67e9f40ca68929bd35b94206d3.tar.gz
Merge branch 'master' into core-updates
Diffstat (limited to 'build-aux/hydra/demo-os.scm')
-rw-r--r--build-aux/hydra/demo-os.scm33
1 files changed, 28 insertions, 5 deletions
diff --git a/build-aux/hydra/demo-os.scm b/build-aux/hydra/demo-os.scm
index c2ff012a1b..863371291e 100644
--- a/build-aux/hydra/demo-os.scm
+++ b/build-aux/hydra/demo-os.scm
@@ -22,9 +22,10 @@
;;; machine images that we build.
;;;
-(use-modules (gnu packages zile)
+(use-modules (gnu)
+
+ (gnu packages zile)
(gnu packages xorg)
- (gnu packages base)
(gnu packages admin)
(gnu packages guile)
(gnu packages bash)
@@ -33,8 +34,6 @@
(gnu packages tor)
(gnu packages package-management)
- (gnu system shadow) ; 'user-account'
- (gnu services base)
(gnu services networking)
(gnu services xorg))
@@ -42,11 +41,32 @@
(host-name "gnu")
(timezone "Europe/Paris")
(locale "en_US.UTF-8")
+ (bootloader (grub-configuration
+ (device "/dev/sda")))
+ (file-systems
+ ;; We provide a dummy file system for /, but that's OK because the VM build
+ ;; code will automatically declare the / file system for us.
+ (list (file-system
+ (mount-point "/")
+ (device "dummy")
+ (type "dummy"))
+ ;; %fuse-control-file-system ; needs fuse.ko
+ %binary-format-file-system))
(users (list (user-account
(name "guest")
- (uid 1000) (gid 100)
+ (group "wheel")
+ (password "")
(comment "Guest of GNU")
(home-directory "/home/guest"))))
+ (groups (list (user-group (name "root") (id 0))
+ (user-group
+ (name "wheel")
+ (id 1)
+ (members '("guest"))) ; allow 'guest' to use sudo
+ (user-group
+ (name "users")
+ (id 100)
+ (members '("guest")))))
(services (cons* (slim-service #:auto-login? #t
#:default-user "guest")
@@ -56,6 +76,9 @@
#:gateway "10.0.2.2")
%base-services))
+ (pam-services
+ ;; Explicitly allow for empty passwords.
+ (base-pam-services #:allow-empty-passwords? #t))
(packages (list bash coreutils findutils grep sed
procps psmisc less
guile-2.0 dmd guix util-linux inetutils