diff options
author | Marius Bakke <mbakke@fastmail.com> | 2019-08-08 00:35:37 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2019-08-08 00:35:37 +0200 |
commit | 8e7f97b9ffee10af3cf16958ebc0a7d410a19ca8 (patch) | |
tree | b3836f9cea849fd8bfb61a77ba225a0054babe58 /doc/guix.texi | |
parent | fa228db78bc9dcb0e7da607dd8783224c76d7ef5 (diff) | |
parent | ba7ff983d613f735ee270f0b0e3c5dba5cbeda3c (diff) | |
download | patches-8e7f97b9ffee10af3cf16958ebc0a7d410a19ca8.tar patches-8e7f97b9ffee10af3cf16958ebc0a7d410a19ca8.tar.gz |
Merge branch 'master' into staging
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index cb60d5c7b7..734206a4b2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25510,7 +25510,7 @@ evaluates to. As an example, @var{file} might contain a definition like this: %base-services)))) (list (machine - (system %system) + (operating-system %system) (environment managed-host-environment-type) (configuration (machine-ssh-configuration (host-name "localhost") @@ -25530,12 +25530,28 @@ complex deployment may involve, for example, starting virtual machines through a Virtual Private Server (VPS) provider. In such a case, a different @var{environment} type would be used. +Do note that you first need to generate a key pair on the coordinator machine +to allow the daemon to export signed archives of files from the store +(@pxref{Invoking guix archive}). + +@example +# guix archive --generate-key +@end example + +@noindent +Each target machine must authorize the key of the master machine so that it +accepts store items it receives from the coordinator: + +@example +# guix archive --authorize < coordinator-public-key.txt +@end example + @deftp {Data Type} machine This is the data type representing a single machine in a heterogeneous Guix deployment. @table @asis -@item @code{system} +@item @code{operating-system} The object of the operating system configuration to deploy. @item @code{environment} |