From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: 'guix system vm' questions Date: Wed, 29 Jun 2016 02:57:06 -0400 Message-ID: <861t3g7a9p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bI9Sv-0001os-P1 for help-guix@gnu.org; Wed, 29 Jun 2016 02:59:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bI9Sq-0000Ek-N2 for help-guix@gnu.org; Wed, 29 Jun 2016 02:59:17 -0400 Received: from plane.gmane.org ([80.91.229.3]:56337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bI9Sq-0000Ed-FQ for help-guix@gnu.org; Wed, 29 Jun 2016 02:59:12 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bI9Sl-0007uI-IU for help-guix@gnu.org; Wed, 29 Jun 2016 08:59:07 +0200 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2016 08:59:02 +0200 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2016 08:59:02 +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: help-guix@gnu.org --=-=-= Content-Type: text/plain I have a headless server running Guix/Debian 8.3 on which I would like to run some guix vms. So far, I have a script (see mkvm.sh, attached) that runs a single vm. It has some issues: 1) lsh-service hangs waiting for keystrokes on the QEMU console 2) passwords need to be set in the QEMU console 3) on the vm, 'guix package -i' throws an error, e.g., (on the console) v1 login: u1 password: $ guix package -i accepted connection from pid 390, user u1 guix package: error: build failed: changing ownership of '/path/store': Read-only file system 4) I can't log in to the vm like I expected, e.g. 'ssh u1@10.0.2.15' times out 5) I would like to have the user 'u1' share read/write access to the $HOME directory and be able to use $HOME/.ssh credentials Your suggestions &/or sample configurations would be most welcome. TIA - George PS I am running this guix git checkout ... * master d6e374a gnu: mafft: Update to 7.299. --=-=-= Content-Type: text/x-sh Content-Disposition: attachment; filename=mkvm.sh #!/bin/bash # make and run a Guix VM set -x VMNUM=1 tmpdir=vm$VMNUM rm -fr $tmpdir mkdir $tmpdir # vm.config cat > "$tmpdir/vm.scm"<