From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Seeking working, complete example for a vm Date: Fri, 28 Oct 2016 14:07:11 -0400 Message-ID: <20161028180711.GA2612@jasmine> References: <58133002.2070804@crazy-compilers.com> <20161028162739.GA1862@jasmine> <58138249.4090005@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0BYk-0001eU-4A for help-guix@gnu.org; Fri, 28 Oct 2016 14:07:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0BYg-00075U-UQ for help-guix@gnu.org; Fri, 28 Oct 2016 14:07:18 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38695) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0BYg-00075Q-Nm for help-guix@gnu.org; Fri, 28 Oct 2016 14:07:14 -0400 Content-Disposition: inline In-Reply-To: <58138249.4090005@crazy-compilers.com> 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: Hartmut Goebel Cc: help-guix@gnu.org 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. > > (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. `guix system vm-image` creates a system with its own store that is meant to be copied out of /gnu/store and mutated. It requires some manual steps, as you pointed out. I don't know the implementation details of these tools very well, but that's my understanding based on using the tools.