From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OOeNNFOBCGPHBwEAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 10:16:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qF5+NFOBCGOcmwAAauVa8A (envelope-from ) for ; Fri, 26 Aug 2022 10:16:19 +0200 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 90F8D2A48F for ; Fri, 26 Aug 2022 10:16:19 +0200 (CEST) Received: from localhost ([::1]:47914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRUVm-0007Eo-PQ for larch@yhetil.org; Fri, 26 Aug 2022 04:16:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRUVT-0007Ec-G5 for guix-devel@gnu.org; Fri, 26 Aug 2022 04:15:59 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:41984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRUVQ-0007j4-FI for guix-devel@gnu.org; Fri, 26 Aug 2022 04:15:59 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=6324k+NI1CeoR9ZcPff4ltT9hAnqO+NgFh4OqIS+u5U=; t=1661501755; x=1662711355; b=+QVKt9bbg68WaJnWU2eintOI56kAktQXMwAe85ZHbyGA26a lMN1b0PuwAP8tON7jX0Q7sz8SEnvdXvs+F3yJAA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=6324k+NI1CeoR9ZcPff4ltT9hAnqO+NgFh4OqIS+u5U=; t=1661501755; x=1662711355; b=xGPh5hNMV13C6FUUzg0ufVicmCU1uyjpg1n2/oeVkn65tou QkE3S7+Kc81OKXi8aGnhsRE7bI0Mo/JAcJNdXiX9kuzC56hk6Wf0VVySw0ty3kHy8ijgG+7e4QNTD EQrVphLWsUVyp4ttVMc2U7bgNHHogBsg5u289q8RsFHPuhGnMBRmJ6fhfl5dC66HhrgA+lqiPARw1 QUnHvroFFjgIVL8fwIG1xfZ0i0UaCh88UVxBAejZs7bNxX9aJyqgNHRYfI+h5YqBzooxFijX1WP8O 2ZiM92+rDNKhJMi8OMJMXISd6CUbBT6gtISLlc/L1Y9EKs3Aej2SszSv6Gd+WA+2/jPQ6DTdJ8d+q SqoALznV3UkziN70yNQsqyH4PWJAjBbCtADM8/zbh1vgySuy/t6C5HhAZIXOMrsUdelYsq0OAe9xd aARcZIBOUGav7DoYmu6HicMn; Received: from [2001:9b1:41ac:ff00:50fc:c7e5:7e78:6f99] (port=49216 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oRUVM-00CVaT-CM for guix-devel@gnu.org; Fri, 26 Aug 2022 10:15:52 +0200 X-Hashcash: 1:22:220826:guix-devel@gnu.org::GNOXO2M0ZI1liI7Q:CBV4 To: guix-devel@gnu.org Subject: cloud-init? OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Fri, 26 Aug 2022 10:15:50 +0200 Message-ID: <87v8qfe7yh.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" Reply-to: Simon Josefsson From: Simon Josefsson via "Development of GNU Guix and the GNU System distribution." X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661501779; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature:openpgp:openpgp; bh=6324k+NI1CeoR9ZcPff4ltT9hAnqO+NgFh4OqIS+u5U=; b=bef58OXD6NNO/FPjGqqhy50st7aoLAzuFqEPmZSzf7Ip5eqnW+umkU7ivqh5/1ciu9SYjJ 2G6aIjNzoUSu7z5SdD9CdJynuTVHE51hK11EzclYXu6sic/jzsFfA37i3zDJCXGxux+swW b7alxuIiRO1Q+Sjyt5m9HnfDD8ib8sWm7FaczVc0leu+tKu6zkTFdkM1zu5YtXDqEmiPuD 63/Xkura150YFF0PLWtc8ye835TUWy0Xc6EKHhg3UfbH4N53Q7EXElljRPlXIwLKrve7TI rXaQZzqzl6KHIqyznlCWad1OXZv8REO1Wnrtd3dNZm/uO92xCfLpxixVzjXbgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661501779; a=rsa-sha256; cv=none; b=bOM95GBahLwJyR/rfBCIX875ePNZtljr316PXz8G42JAlygewv0sX6F+cmX1SOPzzp//L1 uQ1tQseGVN48I5yXlRzVzNMnzGnqCWDkVZLnmWYokMm+pMUSsF78LKAG//i61fltmiOMk6 TOFJps+BQTwI9/QslnjZyIViV6DErliuX0njIu3PWxjkLs22o2gZ0K+NZ1VyKvAYHmMv9V XKwYeRlXjy6WafKZTJOoio1czSUkmM8Yn/5Sp8xTcFODzSS1DnsDJbZ36lo2kINNTaTjix RlJxEwivuNTxPlKc/m2c2PKX4RQ5M0WWh6mSjumYzU71DCW9qyih48lwdb5ULg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=+QVKt9bb; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=xGPh5hNM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=+QVKt9bb; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=xGPh5hNM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 90F8D2A48F X-Spam-Score: -4.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: TuHPDK4uLJKK --=-=-= Content-Type: text/plain Hi I would like to deploy Guix VM's and in many VM hosting environments, having cloud-init on the Guix VM image would be useful for configuration of network interfaces etc. I tried searching the mailing list archives and bug database, but could not find anything except that the cloud-utils package has been added to Guix. The philosophy of cloud-init and Guix system configuration is probably at odds, but basic support for booting and starting sshd and printing the SSH fingerprint, and possibly some DHCP/network config is probably not too difficult to achieve. A 'cloud-init' package in Guix could do as much as is possible to do, or at least document the gap between philosophies. I haven't looked into packaging cloud-init, but first wanted to ask if anyone is aware of work in this area? Are people interested in this? I think I have three goals with this: 1) Package 'cloud-init' in Guix so that it is possible to create a VM image that virt-install can install with the --cloud-init parameters, that has basic support for booting the image and get network and sshd running. 2) Write a system.scm could eventually be used to prepare an official Guix "Cloud image". 3) Verify that Guix can be used as the VM host. I've already tried this a bit, and never ran into troubles so I don't expect any issues here. But maybe something is required to support virt-install --cloud-init. I know the quality of cloud-init infrastructure leaves a lot to be desired, but I think it has become too widespread to ignore. Fortunately cloud-init can be ignored once the system is up and running. I'm using it for VM installation of Debian, and once installed I just remove the cloud-init tools, and I would expect to do the same with Guix. See hints at the end of https://blog.josefsson.org/2022/08/22/static-network-config-with-debian-cloud-images/ /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYwiBNxQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFoj+VAQDiwPqpXsjHwKL/nDBOa0YFwu5dnSeq XGM1HucMmai8uAEAvUT6yCpmSoD9I9Mqj3POgvNgm7zSUvkg2dnwSHf1ygI= =QehH -----END PGP SIGNATURE----- --=-=-=--