all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 26548@debbugs.gnu.org
Subject: bug#26548: [PATCH] install: Enable SSH in installation image.
Date: Tue, 18 Apr 2017 11:09:29 +0000	[thread overview]
Message-ID: <20170418110929.opbh7gygi3s2f6zl@abyayala> (raw)
In-Reply-To: <87inm2rtqa.fsf@gnu.org>

Ludovic Courtès transcribed 1.2K bytes:
> 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?

For the moment it's okay I think.

In the futurey, we would ship GuixSD normal and GuixSD server images?
I'm just trying to gather enough data from hosters at the moment
to see what's the best action here and how we can react in the future
(dhcp, agetty, openssh, etc).

> > +          ;; 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’.
> 
> 
> 

-- 
PGP and more: https://people.pragmatique.xyz/ng0/

  reply	other threads:[~2017-04-18 11:10 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
2017-04-18 11:09   ` ng0 [this message]
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

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

  git send-email \
    --in-reply-to=20170418110929.opbh7gygi3s2f6zl@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=26548@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.