all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Not sure how to add an offload server
@ 2024-11-02 22:13 Simen Endsjø
  2024-11-03 14:06 ` Tomas Volf
  0 siblings, 1 reply; 12+ messages in thread
From: Simen Endsjø @ 2024-11-02 22:13 UTC (permalink / raw)
  To: help-guix


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


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

end of thread, other threads:[~2024-11-07 21:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-02 22:13 Not sure how to add an offload server Simen Endsjø
2024-11-03 14:06 ` Tomas Volf
2024-11-03 15:05   ` Simen Endsjø
2024-11-06 21:20     ` Simen Endsjø
2024-11-06 23:49       ` Tomas Volf
2024-11-07  8:03         ` Simen Endsjø
2024-11-07  9:06           ` Hilton Chain
2024-11-07 11:17             ` Simen Endsjø
2024-11-07 14:35               ` Felix Lechner via
2024-11-07 21:17                 ` Simen Endsjø
2024-11-07 21:51                   ` Simen Endsjø
2024-11-07 21:59                     ` Simen Endsjø

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.