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:57:15 +0200 Message-ID: <87twbwuiw4.fsf@gnu.org> References: <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]:44834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0H1V-00034r-CK for help-guix@gnu.org; Fri, 28 Oct 2016 19:57:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0H1S-0001tT-9V for help-guix@gnu.org; Fri, 28 Oct 2016 19:57:21 -0400 In-Reply-To: <58133002.2070804@crazy-compilers.com> (Hartmut Goebel's message of "Fri, 28 Oct 2016 13:01:22 +0200") 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 Hartmut Goebel skribis: > 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? Use OpenSSH. ;-) The root file system is indeed volatile. > 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? The OS declaration is not in the VM, unless you share it with --expose or --share. > 3) How can I *easiest* setup networking, either bridged or "NAT" (how > virtualbox names it). Since this Networking works out of the box in the VM. If you want the VM to be reachable from the outside, the easiest solution is port forwarding: https://lists.gnu.org/archive/html/guix-devel/2016-09/msg01857.html > 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. The OS declarations only describes the OS in the VM, not the QEMU parameters. > 9) Minor glitch: How can I turn of the colour in ls using the system > declaration? Just =E2=80=9Cunalias ls=E2=80=9D (the alias comes from the default ~/.bash= rc). > [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. Maybe we could move the note in higher, in the description of the =E2=80=98vm=E2=80=99 sub-command? HTH! Ludo=E2=80=99.