From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Seeking working, complete example for a vm Date: Fri, 28 Oct 2016 13:01:22 +0200 Message-ID: <58133002.2070804@crazy-compilers.com> 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]:41825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c04uj-0003Sr-U7 for help-guix@gnu.org; Fri, 28 Oct 2016 07:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c04ue-00069r-A6 for help-guix@gnu.org; Fri, 28 Oct 2016 07:01:34 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:50593) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c04ue-00068m-4Z for help-guix@gnu.org; Fri, 28 Oct 2016 07:01:28 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3t515v6sKtz3hjTy for ; Fri, 28 Oct 2016 13:01:23 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3t515v5kzPzvlj6 for ; Fri, 28 Oct 2016 13:01:23 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id Xtnwm5wCh-Sr for ; Fri, 28 Oct 2016 13:01:22 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-139-137.dynamic.mnet-online.de [188.174.139.137]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Fri, 28 Oct 2016 13:01:22 +0200 (CEST) Received: from [192.168.110.2] (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 363CE6054B for ; Fri, 28 Oct 2016 13:01:22 +0200 (CEST) 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: help-guix@gnu.org Hi, for a demonstration I need to set up a container running nginx and postres and maybe ssh. nginx and ssh should be accessible from outside the vm, at least from the host. After some struggle with building the vm [1] I'm now able to boot it. I already copy the image our of the store (as advised in the manual). But I still experience some problems: 1) lsh wants keystrokes a random-seed on each boot. This looks like file-system will not be preserved over reboots. How can I solve this? 2) Using "guix system reconfigure" *within* the vm would be great. But where do I find the system declaration within the vm? Or is it preferable to share my working directory? 3) How can I *easiest* setup networking, either bridged or "NAT" (how virtualbox names it). Since this 4) Can I specify this in the system declaration? Or is there some other way to declare the vm, including all the parameters to be passed to qemu? If not, this is not much of a problem, as another bash-script would do the job. 9) Minor glitch: How can I turn of the colour in ls using the system declaration? Thanks in advance for all tips. [1] On the host, /dev/kvm needs to have group kvm and g+rx and guixbuild..-users need to be members of this group, This is written in the manual, but not emphasised. --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |