[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Better support remote deployment
From: |
Maxim Cournoyer |
Subject: |
Re: Better support remote deployment |
Date: |
Thu, 09 Nov 2023 10:01:38 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
Efraim Flashner <efraim@flashner.co.il> writes:
[...]
>> 'guix package' is already the command we use to create profiles; maybe
>> it could accept a '--remote' argument to operate on a remote machine?
>> Or is this not what 'GUIX_DAEMON_SOCKET=ssh://your-target guix package
>> -m manifest.scm' can already accomplish? :-)
>
> Currently there's no ssh connection caching, so using GUIX_DAEMON_SOCKET
> can be quite slow, I normally allow 5-10 minutes for a profile. That
> works best when you can't use guix copy to send derivations over.
>
> The profile effectively already exists, it doesn't need to be computed
> on each machine. It does seem more like deploy: take this profile, send
> it to that machine, and activate it there. `guix deploy` already takes
> a file, the file could have a profile (or home config?) and a location
> for the profile. And a user.
That's some idea I suggested earlier (add integration form 'guix home'
configs to an operating system definition). That has merit on its own,
but wouldn't solve Ricardo's use case, which is to deploy a profile on a
*foreign* distribution (not Guix System).
--
Thanks,
Maxim
- Better support remote deployment, Ricardo Wurmus, 2023/11/01
- Re: Better support remote deployment, Felix Lechner, 2023/11/01
- Re: Better support remote deployment, Maxim Cournoyer, 2023/11/07
- Re: Better support remote deployment, Ricardo Wurmus, 2023/11/07
- Re: Better support remote deployment, Ludovic Courtès, 2023/11/16
- Re: Better support remote deployment, Felix Lechner, 2023/11/16
- Re: Better support remote deployment, Tomas Volf, 2023/11/20
- Re: Better support remote deployment, Maxim Cournoyer, 2023/11/22