From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QBcjKzEeEmMLQgEAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 17:16:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uAg3KzEeEmMQJgAAauVa8A (envelope-from ) for ; Fri, 02 Sep 2022 17:16:01 +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 7077B33141 for ; Fri, 2 Sep 2022 17:16:01 +0200 (CEST) Received: from localhost ([::1]:46546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8Om-00023q-LL for larch@yhetil.org; Fri, 02 Sep 2022 11:16:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8OH-00023R-1H for guix-devel@gnu.org; Fri, 02 Sep 2022 11:15:29 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:39572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8OE-0004bg-3v for guix-devel@gnu.org; Fri, 02 Sep 2022 11:15:28 -0400 Received: by mail-lf1-x132.google.com with SMTP id p16so3743763lfd.6 for ; Fri, 02 Sep 2022 08:15:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=DpPDdo5CTT+p7GUfjMhBrsL9OIT9VZ/sX9hO/A8Hg+A=; b=G/4/uM/jMEjU39O/TXo+VxGndU6BtzGWwc9vl0tm8GB37DvAY35FvUzNthV7ClbZb8 6geJ5dspo8UeIQjJJm4JnsiyYqFMryUy4xfJo2poUWYx7C7YykQ8Oy6hByk526qwqvw5 fXBwaPHz/z4nm0Fvj+JWkF8HKvdbyr0I1T8qwJdaMUl9nmVpeYsI3xzcaud5q3mwcOLB GWM5Pl2amSXA5A7O1r08U/jfN78YvVQrkJt+OStSAG3CXislJeQWsUY2lCqjQgFnpH79 modGS+TvI53HhtzjbB6xkstxMUhd2kcMDRAfyRAApDyETGi3gB+iruj29rl9E71iXrEU wa3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=DpPDdo5CTT+p7GUfjMhBrsL9OIT9VZ/sX9hO/A8Hg+A=; b=gCLZQHDd0h1sKzsl2Kub/Y2H/8tUe5THQlO9fa4rw/yX4C/BYvNF9k/jG81d/ioN1i /Hzs/gALx6ARkahPHrh29rAH6XGbjkt/NTSECeEShGWv4SFX7+pFFQQzJHuS0DxK1Y+T At+BJ8jWBjZCH8MYgM2wm9SmoB4Skb3wBx7sbqQ0RitnluL/KRxLkEual0z8/20qEzKX Dg5mIXnKloV6dPh7HHFoY/MOwVz8JK7h2ThB+GgTeZr3bytzyzH635kUBadNUaRaixQO HStFRzOa52+1W7fW9zIm4nx+jI82AtE94y9+tHwhdqyLFLT2Okj0pv3yG8eElmQxodbe s1nw== X-Gm-Message-State: ACgBeo0cEZbSOBZSs92yo5ZZdyqWwnIiRo0AZJqbVOpp9u7Qh6lmnFcv lHQFuH50cZJiM0IdYD0mF81IzTvWBvZNICt6hYyBtw== X-Google-Smtp-Source: AA6agR7Tb4TlOdLlVQY/YKDSaAhZmPoRPMyTBOM+mKgcIS4p8YD7I9/m362JiwPVagFtbfM7FoDrh7jnyraDgjpi5tU= X-Received: by 2002:a05:6512:3fc:b0:494:663f:c017 with SMTP id n28-20020a05651203fc00b00494663fc017mr8993947lfq.472.1662131722938; Fri, 02 Sep 2022 08:15:22 -0700 (PDT) MIME-Version: 1.0 References: <87v8qfe7yh.fsf@latte.josefsson.org> In-Reply-To: <87v8qfe7yh.fsf@latte.josefsson.org> From: "Thompson, David" Date: Fri, 2 Sep 2022 11:15:11 -0400 Message-ID: Subject: Re: [EXT] cloud-init? To: Simon Josefsson Cc: guix-devel Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=dthompson2@worcester.edu; helo=mail-lf1-x132.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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" 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=1662131761; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=DpPDdo5CTT+p7GUfjMhBrsL9OIT9VZ/sX9hO/A8Hg+A=; b=geKgmjVO7MJy756AG7AIlpjltH0cV6VsiypP5FOkTywCdRQIhyq0zyyt6XsbDYFmQm/woE WnOgTZIqV9p6ijZfkq9iVAvmN3dBp8gPwskyBhTXFFMdtHjf1mg9oryqG4PARM0YwiyHs8 olerIUmgBWd2lQOeYz7qeSfF+peELQ/AyePsEhQFMRRSMBGMPRzy1ZuKIGjnbbc1IWpbbt cbJfsIaYJqroqox57BBd++LobUELIXMvywJlFl63Um5C9myloPR1mAxQUL95RHVjubRqt/ DQVwSgAyWNnGtB0heK2RZGOzFnMEfecQpCZVwPZR6TGG513oeE014ZTaJzkNlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662131761; a=rsa-sha256; cv=none; b=Hd2S/flUPSs+x5HT6IipVw/dYcJ3cbu9Eanj8ImfxFQgYOWAmRkpNTsr1sul4P0+M5plfk vhgZv2INXDS2hhkay0LBe0EfdGZJOgPBe1XELN60PHBPMb7S1/0iDPbOnAD8bK0LjvA6R4 GlTCWlXemD1To1AIJpNwW+N9zqq1vBGA1JQO/l9KBEJM/Xv+5/aL5fOzlXX18ue/nQHpwp /i7UnccOWFuTB8Nb5pp7OjRRLN/Pj5dM2UaRCUZ6PuEgnyh/hctHnj/l2uH09LAglZOzt8 QCEgqCy1dRndjqF9BNeRNcr0zREEDxHMxyyGPzHnz4ST/qUoHHM84EvHgby3tQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b="G/4/uM/j"; dmarc=none; 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: -0.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b="G/4/uM/j"; dmarc=none; 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: 7077B33141 X-Spam-Score: -0.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: C2zpRvSCidk6 Hi Simon, On Fri, Aug 26, 2022 at 4:16 AM Simon Josefsson via Development of GNU Guix and the GNU System distribution. wrote: > > 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 can only cite my experiences doing devops on AWS for the past 5 years, but I personally avoid relying on cloud-init on EC2 and try to catch when other developers use it to do something because there's always a better way. That better way is almost always to add a one-shot systemd service (these are not Guix System servers) to the VM image that starts on boot. What are some situations in which cloud-init is unavoidable? I wouldn't think cloud-init would need to start sshd since the init system would automatically do that. None of this is to say that I wouldn't be in favor of having cloud-init support. I'm just trying to understand if it's a necessity in a certain context or if it would be for the purpose of providing a familiar tool to help people who are used to using it with other distros. - Dave