summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-04 23:31:15 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-04 23:31:15 +0100
commitaab322d909c0b4abec132ef7aff31c31a1208841 (patch)
tree3cbe52ea12a1bedba2451ec746964aed36028035 /gnu/system
parent39b27f4eae36d155faf466c59629afb5843030e6 (diff)
downloadpatches-aab322d909c0b4abec132ef7aff31c31a1208841.tar
patches-aab322d909c0b4abec132ef7aff31c31a1208841.tar.gz
install: Don't start sshd by default.
Reported by Christopher Baines <mail@cbaines.net> at <https://lists.gnu.org/archive/html/guix-devel/2017-12/msg00058.html>. * gnu/services/ssh.scm (<openssh-configuration>)[%auto-start?]: New field. (openssh-shepherd-service): Honor it. * gnu/system/install.scm (%installation-services): Set '%auto-start?' to #f for openssh-service-type.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/install.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 78f2bf3a13..0dd7688634 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -264,7 +264,10 @@ You have been warned. Thanks for being so brave.\x1b[0m
;; The root account is passwordless, so make sure
;; a password is set before allowing logins.
(allow-empty-passwords? #f)
- (password-authentication? #t)))
+ (password-authentication? #t)
+
+ ;; Don't start it upfront.
+ (%auto-start? #f)))
;; Since this is running on a USB stick with a overlayfs as the root
;; file system, use an appropriate cache configuration.