unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke@fastmail.com>
Cc: 26548@debbugs.gnu.org
Subject: bug#26548: [PATCH] install: Enable SSH in installation image.
Date: Tue, 18 Apr 2017 10:43:41 +0200	[thread overview]
Message-ID: <87inm2rtqa.fsf@gnu.org> (raw)
In-Reply-To: <20170417213030.1489-1-mbakke@fastmail.com> (Marius Bakke's message of "Mon, 17 Apr 2017 23:30:30 +0200")

Hello!

Marius Bakke <mbakke@fastmail.com> skribis:

> Hi Guix! This patch adds an SSH server to the installation image
> to aid remote installations as requested in
> https://lists.gnu.org/archive/html/help-guix/2017-01/msg00047.html
>
> lsh-service depends on networking, so I pulled in a DHCP client too.
> It increases the image size by about 29MiB.
>
> * gnu/system/install.scm (%installation-services): Add DHCP-CLIENT-SERVICE
> and LSH-SERVICE.

[...]

> +          ;; Add a DHCP client for networking.
> +          (dhcp-client-service)

This is a problem: in the installation instructions, we tell people to
configure networking (possibly wireless) by hand, so we cannot expect
the DHCP client to work directly when the image is booted.

Also, the installation instructions would need to be updated.

However, what we could do, instead, is to add an SSH service that is off
by default (with (start? #f)) and does not depend on ‘networking’.  That
way, people would only need to type

  herd start ssh-daemon

to get the thing up and running.  WDYT?

> +          ;; Add an SSH server to facilitate remote installs.
> +          (lsh-service #:port-number 22

I agree with others that we should use OpenSSH here.  :-)

Thanks,
Ludo’.

  parent reply	other threads:[~2017-04-18  8:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-17 21:30 bug#26548: [PATCH] install: Enable SSH in installation image Marius Bakke
2017-04-17 21:54 ` Leo Famulari
2017-04-17 22:06   ` Marius Bakke
2017-04-17 22:19     ` ng0
2017-04-17 23:01       ` Marius Bakke
2017-04-18 11:06         ` ng0
2017-04-18  8:43 ` Ludovic Courtès [this message]
2017-04-18 11:09   ` ng0
2017-05-08 12:01   ` Marius Bakke
2017-05-10 20:28     ` Ludovic Courtès
2017-05-17 12:14       ` Marius Bakke
2017-05-17 12:15         ` bug#26548: [PATCH v2 1/2] services: openssh: Don't depend on networking Marius Bakke
2017-05-17 12:15           ` bug#26548: [PATCH v2 2/2] install: Enable SSH in installation image Marius Bakke
2017-05-17 21:36             ` Ludovic Courtès
2017-05-17 23:01               ` Marius Bakke
2017-05-17 21:29           ` bug#26548: [PATCH v2 1/2] services: openssh: Don't depend on networking Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inm2rtqa.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=26548@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).