[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66156] [PATCH 00/12] Introducing Smart Hurdloading
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#66156] [PATCH 00/12] Introducing Smart Hurdloading |
Date: |
Sat, 23 Sep 2023 15:44:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Ludovic Courtès writes:
Hello!
Okay, after overcoming completely unreleated troubles I finally managed
to reconfigure a laptop to hurd-team to test it. It works great!
> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> Beautiful! I'm wondering how this works wrt disk size; the default is
>> still 'guess? In my childhurds I have
>>
>> (hurd-vm-configuration
>> ..
>> (disk-size (* 16 1024 (expt 2 20))) ;16GiB
>>
>> which is pretty cheap now that we have qcow2. I'm not sure how
>> expensive it is to set memory-size if you don't use it?
>
> I guess setting ‘disk-size’ should still work (and as you write: with
> QCOW2, it doesn’t cost much to ask for extra space, until you actually
> use it); nothing has changed here.
Yes, works beautifully.
>> I'm wondering if there is a way to/if we need a way to set the default
>> priority of the childhurd. I'm usually offloading to another machine's
>> childhurd and will probably want to prioritize that when I'm at home.
>
> Good question. Perhaps you could declare that other machine with a
> higher ‘speed’ value?
That also works nicely.
I found that by default, only root can offload. Is that intentional,
how would that work? I changed permissions on
`/etc/guix/offload/ssh/childhurd' like so
--8<---------------cut here---------------start------------->8---
$ l /etc/guix/offload/ssh
total 8
-rw-r--r-- 1 root root 93 Sep 23 14:47 childhurd.pub
-rw-r----- 1 root wheel 399 Sep 23 14:47 childhurd
--8<---------------cut here---------------end--------------->8---
to "fix" that. WDYT?
Found another two commit message nitpicks
> Subject: Re: [bug#66156] [PATCH 12/12] services: hurd-vm: Implement
> zero-configuration offloading.
[..]
> > This allows for zero-configuration offloading to a childhurd.
>
> * gnu/services/virtualization.scm (operating-system-with-offloading-account):
> New procedure.
> (<hurd-vm-configuration>)[offloading?]: New field.
> (hurd-vm-disk-image): Define ‘transform’ and use it.
> (hurd-vm-activation): Generate SSH key for user ‘offloading’ and add
> authorize it via /etc/childhurd/etc/ssh/authorized_keys.d.
Remove "add".
> (hurd-vm-configuration-offloading-ssh-key)
> (hurd-vm-guix-extension): New procedures.
Rather use
(hurd-vm-configuration-offloading-ssh-key,
hurd-vm-guix-extension): New procedures.
?
Greetings,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
- [bug#66156] [PATCH 05/12] services: guix: Use the right locale package on GNU/Hurd., (continued)
- [bug#66156] [PATCH 05/12] services: guix: Use the right locale package on GNU/Hurd., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 07/12] services: childhurd: Authorize the childhurd’s key on the host., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 09/12] tests: hurd-vm: Remove custom disk image configuration., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 06/12] services: guix: Support declarative offloading setup., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 10/12] services: hurd-vm: Disable password-based authentication for root., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 11/12] doc: Give an example showing how to add an account in the childhurd., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 08/12] services: hurd-vm: ‘image’ field has to be an <image> record., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 12/12] services: hurd-vm: Implement zero-configuration offloading., Ludovic Courtès, 2023/09/22
- [bug#66156] [PATCH 00/12] Introducing Smart Hurdloading, Janneke Nieuwenhuizen, 2023/09/22