[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Not sure how to add an offload server
From: |
Simen Endsjø |
Subject: |
Not sure how to add an offload server |
Date: |
Sat, 02 Nov 2024 23:13:33 +0100 |
Hi, I have some problems creating my own offload server.
Adding a build-machine section in guix-configuration fills
/etc/guix/machines.scm.
But when I do `guix offload test` or status, it checks
/usr/local/etc/guix/machines.scm and not /etc/guix/machinecs.scm.
Adding the build machine in that line works, but then it doesn't look like it
checks /etc/guix/acl. The key is listed there, but `guix offload test` still
complains that the key isn't trusted.
(guix-service-type config => (guix-configuration
(inherit config)
(authorized-keys
(append (list (plain-file
"simendsjo-ser7"
"(public-key (ecc (curve Ed25519) (q
#65EB2980FCA088C7D2C4200DAB417ABB96424ECC5EE65F3BD7F7B1F7D4FD093E#)))"))
%default-authorized-guix-keys))
(build-machines
(list '(build-machine
;; simendsjo-ser7
(name "192.168.0.5")
(port 52571)
(user "simendsjo")
(systems (list
"x86_64-linux"))
(host-key
"ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIMjlkRdkV7AXzKpQyNY/0g7SKaECxC6JxcinzchDqQt5
root@(none)")
(private-key
"/home/simendsjo/.ssh/id_rsa")
(speed 2)))))))
$ guix offload test
guix offload: testing 1 build machines defined in
'/usr/local/etc/guix/machines.scm'...
guix offload: Guix is usable on '192.168.0.5' (test returned
"/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test")
guix offload: '192.168.0.5' is running GNU Guile 3.0.9
guix offload: sending 1 store item (0 MiB) to '192.168.0.5'...
exporting path `/gnu/store/pf0w80gakb3bj28xvcvyajcnwgxbnkvj-export-test'
guix offload: error: unauthorized public key: (public-key
(ecc
(curve Ed25519)
(q #65EB2980FCA088C7D2C4200DAB417ABB96424ECC5EE65F3BD7F7B1F7D4FD093E#)
)
)
- Not sure how to add an offload server,
Simen Endsjø <=
- Re: Not sure how to add an offload server, Tomas Volf, 2024/11/03
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/03
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/06
- Re: Not sure how to add an offload server, Tomas Volf, 2024/11/06
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/07
- Re: Not sure how to add an offload server, Hilton Chain, 2024/11/07
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/07
- Re: Not sure how to add an offload server, Felix Lechner, 2024/11/07
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/07
- Re: Not sure how to add an offload server, Simen Endsjø, 2024/11/07