From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8KrHGFHU7V6zKQAA0tVLHw (envelope-from ) for ; Sat, 20 Jun 2020 09:18:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0HrdE1HU7V5nJwAAB5/wlQ (envelope-from ) for ; Sat, 20 Jun 2020 09:18:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C33AC94038E for ; Sat, 20 Jun 2020 09:18:08 +0000 (UTC) Received: from localhost ([::1]:46588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmZdW-0002Oy-0R for larch@yhetil.org; Sat, 20 Jun 2020 05:18:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmZdS-0002Od-Pp for guix-patches@gnu.org; Sat, 20 Jun 2020 05:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45762) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmZdS-00079v-Ea for guix-patches@gnu.org; Sat, 20 Jun 2020 05:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmZdS-0007w4-9Z for guix-patches@gnu.org; Sat, 20 Jun 2020 05:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41961] [PATCH 0/1] services: childhurd: Support more than one instance. Resent-From: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jun 2020 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41961@debbugs.gnu.org Cc: rekado@elephly.net, Jan Nieuwenhuizen X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159264463130444 (code B ref -1); Sat, 20 Jun 2020 09:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2020 09:17:11 +0000 Received: from localhost ([127.0.0.1]:57308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmZcZ-0007uv-WD for submit@debbugs.gnu.org; Sat, 20 Jun 2020 05:17:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:45272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmZcV-0007ul-RV for submit@debbugs.gnu.org; Sat, 20 Jun 2020 05:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmZcV-0002KH-4b for guix-patches@gnu.org; Sat, 20 Jun 2020 05:17:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37055) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmZcS-000776-JW; Sat, 20 Jun 2020 05:17:01 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=34768 helo=dundal.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1jmZcR-00056W-T7; Sat, 20 Jun 2020 05:17:00 -0400 From: "Jan (janneke) Nieuwenhuizen" Date: Sat, 20 Jun 2020 11:16:56 +0200 Message-Id: <20200620091656.6804-1-janneke@gnu.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: sViWzzq0cr20 From: Jan Nieuwenhuizen Hi! The first thing "someone" asked me when we finally got this amazing service running and were still pretty excited about it, was can we have more than one Childhurd per host?[0] Sounds like appreciation combined with a valid request, especially since it implies the intention to setup some serious Hurd build nodes ;-) Running two Childhurd instances on my laptop right now, using this configuration --8<---------------cut here---------------start------------->8--- (service hurd-vm-service-type (hurd-vm-configuration (disk-size (* 5000 (expt 2 20))) ;5G (memory-size 1024))) (service hurd-vm-service-type (hurd-vm-configuration (os (operating-system (inherit %hurd-vm-operating-system) (host-name "childhurd1"))) (id 1))) --8<---------------cut here---------------end--------------->8--- look: --8<---------------cut here---------------start------------->8--- $ sudo herd status | grep hurd + hurd-vm + hurd-vm1 11:10:46 janneke@dundal:~/src/guix/master [env] $ ssh childhurd 'hostname; df --si / 2>/dev/null | tail -1' childhurd - 5.3G 934M 4.1G 19% / 11:11:00 janneke@dundal:~/src/guix/master [env] $ ssh childhurd1 'hostname; df --si / 2>/dev/null | tail -1' childhurd1 - 1.3G 894M 272M 77% / --8<---------------cut here---------------end--------------->8--- Greetings, Janneke [0] http://logs.guix.gnu.org/guix/2020-06-13.log#001939 Jan (janneke) Nieuwenhuizen (1): services: childhurd: Support more than one instance. doc/guix.texi | 35 ++++++++++++++++++++-------- gnu/services/virtualization.scm | 41 +++++++++++++++++++++++++-------- 2 files changed, 58 insertions(+), 18 deletions(-) -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com