Kay Plößer <k...@kay.is> writes:

> To try things out, I installed the ISO image to a local VM, which
> worked. However, the SSH server didn't start after boot, despite being
> selected in the installation and ending up in the config.scm. I got it
> running after updating the config and starting the server manually. Is
> this normal? Can't reconfigure take care of the services? Will this
> also apply to OCI containers?

What VM environment was that?  I run Guix on several physical and
virtual machines (qemu/libvirt) and never saw that.  But on more
container-like VM's that doesn't boot via Shepherd it seems more likely
to happen.

Alas, 'guix pack' seems to be limited in what OCI images it can
generate, and I haven't found any way to set the 'Cmd' parameter which
would be needed to start things when you enter a OCI container:

https://lists.gnu.org/archive/html/help-guix/2024-12/msg00170.html

> Also, pull and reconfigure seem kinda slow and I often get an error
> from the savanna server. Sometimes I have to run the commands 5 times
> until it works. I read somewhere to add a substitute server to my
> user's channels.scm, which I did (e.g., ci.guix.gnu.org), but it
> doesn't seem to improve things consistently. Are there any faster
> substitute servers or config options that can speed things up?

I would like to know that too.

> I like the idea of guix deploy for replacing Anisble, but it seems to
> require another Guix System. Or is it possible to deploy on Ubuntu?

You can install Guix on Ubuntu and deploy from there.

> Do I have to remember anything crucial when converting from Docker Compose to 
> OCI?

The README at https://gitlab.com/debdistutils/guix/container should
contain a bunch of commands including hacks and ugly workarounds that
you may need.

> When I finally have everything how I like it, how do I get this config
> to my VPS? The guide for Linode seems to suggest, I'd have to deploy a
> Debian and turn it into a Guix System in-place. Is this the
> recommended way if no custom images are allowed?

I think VPS-specific instructions are needed here, a'la:

https://f-a.nz/dev/guixsd-on-digitalocean/
https://lists.gnu.org/archive/html/guix-devel/2019-06/msg00036.html

Bottom section of:

https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-deploy.html

Btw, wouldn't it be nice if you could URL link directly to the
'hetzner-configuration' part of that HTML page somehow?

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to