aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-09 23:12:06 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-09 23:12:06 +0100
commit27991c97e64c95be4cae7f2b0a843565df329215 (patch)
tree909d476c9ff4c3e11e11905a7f62270584e7c6f8 /doc
parent2b513387cd63f82afc8fb6a076674b323e964b7f (diff)
downloadguix-27991c97e64c95be4cae7f2b0a843565df329215.tar
guix-27991c97e64c95be4cae7f2b0a843565df329215.tar.gz
offload: Allow testing machines that match a regexp.
* guix/scripts/offload.scm (check-machine-availability): Add 'pred' parameter and honor it. (guix-offload): for the "test" sub-command, accept an extra 'regexp' parameter. Pass a second argument to 'check-machine-availability'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 71de73b953..0cb1bc7665 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -1005,6 +1005,12 @@ command line:
# guix offload test machines-qualif.scm
@end example
+Last, you can test the subset of the machines whose name matches a
+regular expression like this:
+
+@example
+# guix offload test machines.scm '\.gnu\.org$'
+@end example
@node Invoking guix-daemon
@section Invoking @command{guix-daemon}