Received: (at 74389) by debbugs.gnu.org; 23 Nov 2024 01:38:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Nov 22 20:38:04 2024 Received: from localhost ([127.0.0.1]:56131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tEf62-0006Oj-Js for submit <at> debbugs.gnu.org; Fri, 22 Nov 2024 20:38:04 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:60123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <alex@HIDDEN>) id 1tEZCc-0003ig-Kj for 74389 <at> debbugs.gnu.org; Fri, 22 Nov 2024 14:20:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infiniteadaptability.org; s=protonmail3; t=1732303219; x=1732562419; bh=ai1bW/jfmUWGJvJ6hOD0pFj6QuQ/TRZcNu4m4ZRYaro=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=UnoGFOV7vJrtZiWDzpUMiuIm6QuoacZLy5I8LUrY6Yk0gU/p0BqNKNcEaQo4nEI+s TJ5O3FQ9CVrMpWnaRl5fcaMalgx+2bMz6JPcmJrkaCNfPSmNjLrw6mEvjK9l/s8zPp qvpTrFUt2jmZpR+TrBKoxaGY7Ld4nRIvryXI5yZ5iaCvrqCkeUAAItkM4TAC2vJCD3 Mp05jGv5P77cPYGBr/otxPdZJL2r+ojbetNEn40vCFtl/T07KMN41HCMH9i/DajaYi PIIt0RVx2OWMXqczhA61gp30nwctP/sHsAZiPXwYl7KoKpJCJt/E4pHCn4v3wQULiB dk2VSgY4f8e2Q== Date: Fri, 22 Nov 2024 19:20:13 +0000 To: "74389 <at> debbugs.gnu.org" <74389 <at> debbugs.gnu.org> From: Alex <alex@HIDDEN> Subject: [PATCH] services: add cloud-init service Message-ID: <bATnGQtQhBzofETx9zjy9A8gqJwfjZAFRLjh4x1zhKmNFUjDQLqzBuEcja-YyB7bkl3esUJDMuGwmRS16QTCGNhXVLueI4BKNKHz-qU_Vmg=@infiniteadaptability.org> Feedback-ID: 41959981:user:proton X-Pm-Message-ID: 6ba2a67937791d99b90a5c76505367a8aacd0a26 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74389 X-Mailman-Approved-At: Fri, 22 Nov 2024 20:38:01 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ricardo, This patch is just a MVP for implementing a cloud-init service. The goal pr= imarily was to get the networking, disk and filesystem mounts, and ssh auth= entication working properly. From a high level this patch implements a cloud-init-service which uses clo= ud-init functionality to gather information from it's run-time environment = and then run cloud-init modules in order to properly configure the vm. It p= rovides a configuration interface for choosing which modules to run as well= as a mechanism to add extra configuration files. I took a few major shortcuts in order to get a working image. The first is that instead of writing guix specific functionality for cloud-= init modules, I decided to attempt to use the ubuntu (which I believe is th= e default) tools. This is why the cloud-utils package as well as the networ= k-manager-service-type are included in the vm image template I created as p= art of this patch. The second shortcut is that I didn't see a good way to guix-ify the cloud-i= nit service definitions/runtime environment (i.e. I used the /etc/cloud dir= ectory to handle most of the configuration files). I'd prefer if configurat= ion lives in the store, but the configuration files and the gathered data l= ive in locations which I didn't see a way to overwrite easily. I'm sure thi= s exists, but would require more digging into the cloud-init source code an= d/or patches that would need to be pushed upstream. The final shortcut is the actual running of the cloud-init-service. I didn'= t see a good way to *wait* for a process to complete, i.e. to block other s= ervices until the current service completes. It looks to me that running a = long-running one-shot service (each stage of cloud-init typically takes a f= ew seconds to run) doesn't block any service which requires it's provisions= . Maybe there's some shepherd nuances that I'm not aware of. I ended up cre= ating a computed file which produces a shell script which runs each cloud-i= nit stage in sequence as a workaround to a more robust solution. I added some extra comments with instructions on how to add extra cloud-ini= t configuration files. This is required for cloud-init to run properly on D= igitalOcean (the order of the data sources needs to be changed from the def= ault). It might be necessary for other p I've tested this on digital ocean and gotten it work properly (and then use= d guix deploy to update the configuration of the image).=20 NOTE: there are some comments in the template file that would need to be un= commented to build the exact image I used. Using this patch it should be easy to create an image for testing using: ./pre-inst-env guix system image -t qcow2 gnu/system/examples/cloud-init-im= age.tmpl I would appreciate further testers and any suggestions for improvement. Thanks! Alex
guix-patches@HIDDEN
:bug#74389
; Package guix-patches
.
Full text available.Received: (at 74389) by debbugs.gnu.org; 21 Nov 2024 18:25:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 21 13:25:56 2024 Received: from localhost ([127.0.0.1]:51657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tEBsK-0008Hf-8c for submit <at> debbugs.gnu.org; Thu, 21 Nov 2024 13:25:56 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rekado@HIDDEN>) id 1tEBsH-0008HW-HT for 74389 <at> debbugs.gnu.org; Thu, 21 Nov 2024 13:25:54 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1732213551; cv=none; d=zohomail.com; s=zohoarc; b=j/Lgn/pPVaOeOYZcMMlMCUFSduLJ8MtyLwhI4enad6DRzukStK8FYwCwH5OK4kdepmymqOao8lY0jGm9VEwhgV37psgJ5ZOF/ORQXB8OX3FdjXFHekvwiFO0Yk+3QvFXFTKzapev5BvrOsZtKqC9um2xJRtclBnCWGRXQdfGTCQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1732213551; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=GCQfbL3c2u/AyfupuD94MOdgDT+ycwW1BC3FIFBDqTo=; b=KFnZFwX2IsBb4n3zfP88Pyfhyx5VVHf5g2x+YxwPhxBPzt8xPSW/QjtQ/sfR9xwv8CqhTVCtphwVVamgIIWZObZ7EZzYl2L2kBbEpXPRCVTdth6atJv6baxwgWbnCfhPdPv+TAMIHSVXuLozRHJbLHArVj3z56shP2hRrD+7EDQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@HIDDEN; dmarc=pass header.from=<rekado@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1732213551; s=zoho; d=elephly.net; i=rekado@HIDDEN; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=GCQfbL3c2u/AyfupuD94MOdgDT+ycwW1BC3FIFBDqTo=; b=akUyVqMHUck4oan6lXX3P7QfGSbEdjrVCDAqvMY0jQoEF4oYc8mry5VSYb19LBBh 4NaGhlWBVWwJMfnRRhh/w6XBRLVGgP+m/BTwELvOJWh0TKCox2o1pmX3kaKHycTSNTL YkKdGKiCtbwQfSXbRxNdjufzoQy4o4fdXQK7hJ0c= Received: by mx.zohomail.com with SMTPS id 1732213550700610.8685325129159; Thu, 21 Nov 2024 10:25:50 -0800 (PST) From: Ricardo Wurmus <rekado@HIDDEN> To: 74389 <at> debbugs.gnu.org Subject: [PATCH] services: add cloud-init service Date: Thu, 21 Nov 2024 19:25:47 +0100 Message-ID: <87serkzbo4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74389 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Alexander, thank you for the patch! I'm interested in a cloud-init service because I think we need a way to have Guix System images be configured dynamically when using them in AWS or in Openstack environments. The dynamic configuration I'm most interested in is user credentials and networking. Last I looked into this, the Python library for cloud init had explicit support for various distributions to modify system configuration files and run tools (e.g. to configure and bring up networking, or to set the hostname). It did not generate a central configuration file that could be processed. It just triggered explicit per-distro actions. We couldn't actually use any of that stuff for Guix System. What I investigated a few months back was to see if there was a way to generate some sort of configuration file that our services could then consult. Sadly there was no such thing as a central configuration file containing all necessary bits of information. From what I can tell cloud-utils does not have what it takes to configure networking or user accounts. It's probably useful for other bits, though I haven't ever used those. Could you please expand on what your service does---and what it cannot or does not aim to do---and how it would be used? Thanks! -- Ricardo
guix-patches@HIDDEN
:bug#74389
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 08:05:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 03:05:30 2024 Received: from localhost ([127.0.0.1]:55815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tCaHh-0004AY-2A for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 03:05:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:40862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <alex@HIDDEN>) id 1tCYjt-0007p9-CV for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 01:26:30 -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 <alex@HIDDEN>) id 1tCYjq-0003LO-G1 for guix-patches@HIDDEN; Sun, 17 Nov 2024 01:26:28 -0500 Received: from mail-4022.proton.ch ([185.70.40.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex@HIDDEN>) id 1tCYjm-0007yM-Re for guix-patches@HIDDEN; Sun, 17 Nov 2024 01:26:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infiniteadaptability.org; s=protonmail3; t=1731824772; x=1732083972; bh=20HvoMqWlqwl72T5sf6bLaRwv4RGdbUNgZh0nkFlgWk=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=Y/Tx8VwFamZPx0osB5EfNqUbqN3AnmAQnhmYTgmZly6F9jA0CD2KZ+BiINWDqZVBu UNj+LsZcMm+VT5+dDULX+M5NG80sAEHho73WyADrz58hIH6UIL2pS5yz/DGkh7OHqS gKl317XzW7am0R+zQrfbgCYp5P5LBVyT3yBubBgJ0qSc16FpoorKprx+NnyXzzIzjr pnTDMSRRei8Pdky15d059AKAaURc2diPSBtrlnXjOHcVCTCe+LoQsRKm2fvX+S+nr6 v1q3PFo3M5Fmdv/y4AgjLVb4LxuN1yeQKEcPg5nHhRe7l01VXFfKUiS9to2QnuEg/V 4Q1nk5IaqlzsQ== Date: Sun, 17 Nov 2024 06:26:05 +0000 To: guix-patches@HIDDEN From: Alexander Joss <alex@HIDDEN> Subject: [PATCH] services: add cloud-init service Message-ID: <c907e459d6898df885e3aac67c8446a1c15d62b2.1731824739.git.alex@HIDDEN> Feedback-ID: 41959981:user:proton X-Pm-Message-ID: 2e02c1fe6ad664ec07d71d843f994c5c8555458c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.22; envelope-from=alex@HIDDEN; helo=mail-4022.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 17 Nov 2024 03:05:27 -0500 Cc: Alexander Joss <alex@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) * gnu/services/cloud-init.scm: add cloud-init service * gnu/system/examples: add cloud-init-image.tmpl Change-Id: I28fe295c1dbbab7ea7df65f6b764c7d795e58d77 --- gnu/services/cloud-init.scm | 137 ++++++++++++++++++++++ gnu/system/examples/cloud-init-image.tmpl | 63 ++++++++++ 2 files changed, 200 insertions(+) create mode 100644 gnu/services/cloud-init.scm create mode 100644 gnu/system/examples/cloud-init-image.tmpl diff --git a/gnu/services/cloud-init.scm b/gnu/services/cloud-init.scm new file mode 100644 index 0000000000..d6362f70a7 --- /dev/null +++ b/gnu/services/cloud-init.scm @@ -0,0 +1,137 @@ +(define-module (gnu services cloud-init) + #:use-module (gnu packages bash) + #:use-module (gnu packages python-web) + #:use-module (gnu services) + #:use-module (gnu services shepherd) + #:use-module (guix gexp) + #:use-module (guix records) + #:export (cloud-init-configuration cloud-init-service + cloud-init-service-type)) + +(define-record-type* <cloud-init-configuration> cloud-init-configuration + make-cloud-init-configuration + cloud-init-configuration? + + (cloud-init cloud-init-configuration-cloud-init ;file-like + (default python-cloud-init)) + (init-modules cloud-init-configuration-init-modules ;list of symbols + (default '(seed_random growpart + resizefs + disk_setup + mounts + set_hostname + update_hostname + users_groups + ssh + set_passwords))) + (config-modules cloud-init-configuration-config-modules ;list of symbols + (default '())) + (final-modules cloud-init-configuration-final-modules ;list of symbols + (default '(ssh_authkey_fingerprints))) + (extra-configuration-files + cloud-init-configuration-extra-configuration-files ;list of file-likes + (default '()))) + +(define %cloud-dir + "/etc/cloud") + +(define %cloud-cfg + (string-append %cloud-dir "/cloud.cfg")) + +(define %cloud-run + (mixed-text-file "run.sh" + "#!" + (file-append bash "/bin/bash") + "\n\nset -euo pipefail\n\n" + (file-append python-cloud-init "/bin/cloud-init") + " init --local\n" + (file-append python-cloud-init "/bin/cloud-init") + " init\n" + (file-append python-cloud-init "/bin/cloud-init") + " modules --mode config\n" + (file-append python-cloud-init "/bin/cloud-init") + " modules --mode final\n")) + +(define %cloud-cfg-d + (string-append %cloud-dir "/cloud.cfg.d")) + +(define (cloud-init-initialization init-modules config-modules final-modul= es + extra) + "Return the gexp to initialize the cloud-init configuration files" + #~(begin + (use-modules (srfi srfi-1) + (srfi srfi-2) + (guix build utils)) + + (define reduce-modules + (lambda (mods) + (string-join (map (lambda (mod) + (string-append "\n - " + (symbol->string mod))) mods))= )) + + (mkdir-p #$%cloud-cfg-d) + + (copy-file #$%cloud-run + (string-append #$%cloud-dir "/run.sh")) + (chmod (string-append #$%cloud-dir "/run.sh") #o755) + + (unless (null? '(#$@extra)) + (for-each (lambda (file) + (symlink (cadr file) + (string-append #$%cloud-cfg-d "/" + (car file)))) + '(#$@extra))) + + (call-with-output-file #$%cloud-cfg + (lambda (p) + (unless (null? '(#$@init-modules)) + (display (string-append "cloud_init_modules:" + (reduce-modules '(#$@init-modules)) "\= n\n") + p)) + (unless (null? '(#$@config-modules)) + (display (string-append "cloud_config_modules:" + (reduce-modules '(#$@config-modules)) + "\n\n") p)) + (unless (null? '(#$@final-modules)) + (display (string-append "cloud_final_modules:" + (reduce-modules '(#$@final-modules)) + "\n\n") p)))))) + +(define (cloud-init-activation config) + "Return the activation gexp for CONFIG." + #~(begin + (use-modules (guix build utils)) + #$(cloud-init-initialization (cloud-init-configuration-init-modules + config) + (cloud-init-configuration-config-module= s + config) + (cloud-init-configuration-final-modules + config) + (cloud-init-configuration-extra-configu= ration-files + config)))) + +(define (cloud-init-service config) + "Return a <cloud-init-service> for cloud-init with CONFIG." + (define cloud-init + (cloud-init-configuration-cloud-init config)) + + (list (shepherd-service (documentation "cloud-init service") + (provision '(cloud-init)) + (requirement '(networking)) + (one-shot? #t) + (start #~(fork+exec-command (list (string-append= #$%cloud-dir + "/run.sh")) + #:log-file (string-a= ppend + "/var/lo= g/cloud-init.log") + #:environment-variab= les ' + ("PATH=3D/run/curren= t-system/profile/bin:/run/current-system/profile/sbin:")))))) + +(define cloud-init-service-type + (service-type (name 'cloud-init) + (default-value (cloud-init-configuration)) + (description "cloud init") + (extensions (list (service-extension + shepherd-root-service-type + cloud-init-service) + (service-extension activation-service-ty= pe + cloud-init-activation= ))))) diff --git a/gnu/system/examples/cloud-init-image.tmpl b/gnu/system/example= s/cloud-init-image.tmpl new file mode 100644 index 0000000000..e2e69e8691 --- /dev/null +++ b/gnu/system/examples/cloud-init-image.tmpl @@ -0,0 +1,63 @@ +;; This vm image is meant to be used as an image template +;; to be deployed on cloud providers that use cloud-init. + +(use-modules (gnu) + (guix) + (guix gexp) + (srfi srfi-1)) +(use-service-modules cloud-init base networking ssh) +(use-package-modules admin bootloaders package-management python-web ssh) + +(operating-system + (host-name "gnu") + (timezone "Etc/UTC") + (locale "en_US.utf8") + (keyboard-layout (keyboard-layout "us")) + + (firmware '()) + + ;; Below we assume /dev/vda is the VM's hard disk. + ;; Adjust as needed. + (bootloader (bootloader-configuration + (bootloader grub-bootloader) + (targets '("/dev/vda")) + (terminal-outputs '(console)))) + (file-systems (cons (file-system + (mount-point "/") + (device "/dev/vda1") + (type "ext4")) %base-file-systems)) + + ;; The cloud-utils packages provides some utilities to allow + ;; us to piggyback off ubuntu's cloud-init modules/integrations + ;; without having to write guix specific functionality. + ;; + ;; The python-cloud-init package is not strictly required to be + ;; in system-wide packages. + (packages (append (list cloud-utils python-cloud-init) %base-packages)) + + (services + (append (list (service cloud-init-service-type) + ;; An example of extra configuration files. This specific + ;; file is required for properly running cloud-init on Di= gitalOcean + ;; (cloud-init-configuration (extra-configuration-files ` + ;; (("99-digitalocean.cfg" , + ;; (plain-file + ;; "99-digitalocean.cfg" + ;; "datasource_list: [ ConfigDrive, DigitalOcean, NoCloud= , None ]")))))) + =20 + (service network-manager-service-type) + (service wpa-supplicant-service-type) + (service openssh-service-type + (openssh-configuration (openssh openssh-sans-x) + (permit-root-login #t)))) + %base-services + ;; Uncomment the following and replace the above to automatical= ly add your guix + ;; signing key to the vm for easy reconfiguration. + ;; (modify-services %base-services + ;; (guix-service-type config =3D> + ;; (guix-configuration (inherit config) + ;; (authorized-keys (append + ;; (list (local-file + ;; "/etc/guix/signing-key.pub")) + ;; %default-authorized-guix-keys))))))) + ))) base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b --=20 2.46.0
Alexander Joss <alex@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#74389
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.