From: Simon Josefsson via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: guix-devel@gnu.org
Subject: cloud-init?
Date: Fri, 26 Aug 2022 10:15:50 +0200 [thread overview]
Message-ID: <87v8qfe7yh.fsf@latte.josefsson.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]
next reply other threads:[~2022-08-26 8:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 8:15 Simon Josefsson via Development of GNU Guix and the GNU System distribution. [this message]
2022-08-26 15:29 ` cloud-init? David Dashyan
2022-09-02 13:45 ` cloud-init? Ludovic Courtès
2022-12-29 15:31 ` cloud-init? Simon Josefsson via Development of GNU Guix and the GNU System distribution.
2022-09-02 15:15 ` [EXT] cloud-init? Thompson, David
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8qfe7yh.fsf@latte.josefsson.org \
--to=guix-devel@gnu.org \
--cc=simon@josefsson.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).