From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sEPFBdHYlGXpcQEAkFu2QA (envelope-from ) for ; Wed, 03 Jan 2024 04:47:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cCEiAdHYlGVMBwEA62LTzQ (envelope-from ) for ; Wed, 03 Jan 2024 04:47:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=riseup.net header.s=squak header.b=LXIZcf4u; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704253648; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YwekflqWc/pbEJEDqKyLNP1AUcaLxMVBAzWvRe+14OM=; b=sdg/Qa34zHKdtkin0Ur1o/0+fO9jpziIHZ7CZFoEzV/Hps2OwHLIcOxiSXKZF8N+EI+aGL 5/YmAQce32unoso1QTcqMvgm3+ZlXQgWowXNGMenEjhc+7/nWuiBryHXNrBVnUvgOKHUst bLQrnTDWbckG03sFUZGnydWVGLN943nurhAshSnAKgqQx5x7cDs7EBR3MDX8Bd+taDKh/4 i9g+7XHLyW2LcUsRrX8pYmOiMPdsfCoA7DiS7PbSbEttzYN/mSHAA4DNb8cwwrisBf0vFs SJOfOvp09U4jmbkE8nyQ7h4hgTH7jZDrcVPfAw71HFeFLDAd4U3cA444ItxSZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=riseup.net header.s=squak header.b=LXIZcf4u; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704253648; a=rsa-sha256; cv=none; b=VYTYTo5IUqU4fmUq1JhpyP4kjuPN07q6hBxmqK21dehfxO+OnvmQR7nNw/jO+19zij18j0 iju8fOqtwGpVEyQGMdDNRTzcYfF0N8oU5ZGlVGnJ5zEcRdnBzCsT5siDs7KqEMeOfq2dAx tIcJeirgwPK0mtRCFjeWZUBGH5fpYV+m9uy/Cu64qupJbhC+bawA1ygw0yooYS0tVr8efs FAbGBYdz4NujM2yypblZDWNBhCHQytTyX1ET0iZ/KFLY9ugl5O8b2fSn7LOKNu/irpS+g+ cOaUFGA9JNUIX/eQTeQkyN5vEYGEu2H4RUsSF5Z0WlkbW8aE6JvzLXaaeOxjlg== 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 62CEC624CF for ; Wed, 3 Jan 2024 04:47:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKsDi-00088W-0K; Tue, 02 Jan 2024 22:47:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKsDf-00088M-HP for help-guix@gnu.org; Tue, 02 Jan 2024 22:47:03 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKsDd-0003nH-Bx for help-guix@gnu.org; Tue, 02 Jan 2024 22:47:02 -0500 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4T4bJ24DpWz9vvq; Wed, 3 Jan 2024 03:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1704253618; bh=GkObinNTogePketft1L6pgDPKp1Yh3R6kRjLlxu5pTw=; h=From:To:Cc:Subject:Date:References:In-reply-to:From; b=LXIZcf4ui1PSE3HrK/M2V/vtMBmIXv8egTMSA+DAYveOgPTZrcqCMfWh4SUzI8MHx TebJgX/nJ6CWJFolrn6EOIkfmnXJaF1+ZMqL9+9dPBggfbXbvCRBNpopY75P+gs7X+ ru9JDLEw6OOqBMwSQt+hVw43NY3DMJkjFxJid74s= X-Riseup-User-ID: 43C2A7CEE1406E397A77A41AB2F918A1D97CED48141204725FB3262F76234DAC Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4T4bJ166bJzJmps; Wed, 3 Jan 2024 03:46:57 +0000 (UTC) From: Csepp To: Ian Eure Cc: help-guix@gnu.org Subject: Re: GuixSD automated installation Date: Wed, 03 Jan 2024 04:39:32 +0100 References: <87o7e3ff61.fsf@meson> In-reply-to: <87o7e3ff61.fsf@meson> Message-ID: <86mstnf599.fsf@riseup.net> MIME-Version: 1.0 Received-SPF: pass client-ip=198.252.153.6; envelope-from=raingloom@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.92 X-Spam-Score: -4.92 X-Migadu-Queue-Id: 62CEC624CF X-Migadu-Scanner: mx10.migadu.com X-TUID: MACIC2wPOLeR Ian Eure writes: > Hello, > > On Debian, you can create a preseed file containing answers to all the qu= estions > you=E2=80=99re prompted for during installation, and build a new install = image which > includes it. When booted, this installer skips any steps which have been > preconfigured, which allows for either fully automated installation, or p= artly > automated (prompt for hostname and root password, but otherwise automatic= ). > > Does Guix have a way to do something like this? The declarative config i= s more > or less the equivalent of the Debian preseed file, but I don=E2=80=99t se= e anything that > lets you build an image that=E2=80=99ll install a configuration. > > I see there=E2=80=99s `guix deploy=E2=80=99, but that requires an already= -installed GuixSD to > work, which isn=E2=80=99t helpful for getting it installed in the first p= lace. > > Thanks, > > =E2=80=94 Ian guix system image is maybe closer, but it doesn=E2=80=99t automate everythi= ng that the installer does. But the installer can be used as a Scheme library, at least in theory. The= way I would approach the problem is by creating a Shepherd service that runs at= boot from the live booted ISO.