unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cloud-init?
@ 2022-08-26  8:15 Simon Josefsson via Development of GNU Guix and the GNU System distribution.
  2022-08-26 15:29 ` cloud-init? David Dashyan
  2022-09-02 15:15 ` [EXT] cloud-init? Thompson, David
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Josefsson via Development of GNU Guix and the GNU System distribution. @ 2022-08-26  8:15 UTC (permalink / raw)
  To: guix-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-29 15:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26  8:15 cloud-init? Simon Josefsson via Development of GNU Guix and the GNU System distribution.
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

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).