From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Seeking working, complete example for a vm Date: Sat, 29 Oct 2016 01:49:03 +0200 Message-ID: <8737jgvxu8.fsf@gnu.org> References: <58133002.2070804@crazy-compilers.com> <20161028162739.GA1862@jasmine> <58138249.4090005@crazy-compilers.com> <20161028180711.GA2612@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0GtZ-000240-P6 for help-guix@gnu.org; Fri, 28 Oct 2016 19:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0GtW-0007zp-Mf for help-guix@gnu.org; Fri, 28 Oct 2016 19:49:09 -0400 In-Reply-To: <20161028180711.GA2612@jasmine> (Leo Famulari's message of "Fri, 28 Oct 2016 14:07:11 -0400") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: help-guix@gnu.org Hello! Leo Famulari skribis: > On Fri, Oct 28, 2016 at 06:52:25PM +0200, Hartmut Goebel wrote: >> Am 28.10.2016 um 18:27 schrieb Leo Famulari: >> > Can you clarify if you are trying to use a container or a VM? >> Sorry for the confusion: I'm trying to set up a vm. >>=20 >> (I tried container first, but davexunit informed me that networking is >> not yet implemented there, so I switched to vm.) > > `guix system vm` creates an immutable system that shares the host's > store. The annoying LSH host key issue will be the first problem if you > want to write to the filesystem. Since it lives in the store, you can't > mutate it. I think that parts of the filesystem are mutable RAM-backed > partitions. The host key of lshd lives in /etc, not in the store (it would be a security problem because the store is world-readable). The =E2=80=9Cannoying=E2=80=9D thing when using the lsh service is that it = wants you to type so that it can seed its PRNG. Now, you can use OpenSSH or Dropbear to sidestep that. The image returned by =E2=80=98guix system vm=E2=80=99 has a writable RAM-b= acked root file system. It has a read-only store though, meaning you cannot perform Guix operations in it. Ludo=E2=80=99.