summary refs log tree commit diff
path: root/gnu/system/examples/vm-image.tmpl
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-27 10:15:34 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-27 15:08:17 +0200
commitea2acfe98a3f3c00d15caa3e899ccbd126b97eb6 (patch)
treedefdebac881f95bf7e728cbf91dc122acb8e2222 /gnu/system/examples/vm-image.tmpl
parent05b60752a67af294c35d8f4218487c9a44b5fdee (diff)
downloadguix-ea2acfe98a3f3c00d15caa3e899ccbd126b97eb6.tar.gz
doc: Update bit about SSH in the VM.
* doc/guix.texi (Running Guix in a VM): Remove mentions of 'lsh-server';
mention 'openssh-service-type' and add a cross-reference.
* gnu/system/examples/vm-image.tmpl (services): Add a commented-out line
for 'openssh-service-type'.
Diffstat (limited to 'gnu/system/examples/vm-image.tmpl')
-rw-r--r--gnu/system/examples/vm-image.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/system/examples/vm-image.tmpl b/gnu/system/examples/vm-image.tmpl
index b6f9daaf61..9bc08fa635 100644
--- a/gnu/system/examples/vm-image.tmpl
+++ b/gnu/system/examples/vm-image.tmpl
@@ -5,7 +5,7 @@
 ;;
 
 (use-modules (gnu) (srfi srfi-1))
-(use-service-modules desktop networking xorg)
+(use-service-modules desktop networking ssh xorg)
 (use-package-modules bootloaders nvi wget xorg)
 
 (define vm-image-motd (plain-file "motd" "
@@ -73,6 +73,9 @@ accounts.\x1b[0m
                             (xorg-configuration
                              (keyboard-layout keyboard-layout)))))
 
+                 ;; Uncomment the line below to add an SSH server.
+                 ;;(service openssh-service-type)
+
                  ;; Use the DHCP client service rather than NetworkManager.
                  (service dhcp-client-service-type))