diff options
Diffstat (limited to 'bbot/agent.cli')
-rw-r--r-- | bbot/agent.cli | 58 |
1 files changed, 46 insertions, 12 deletions
diff --git a/bbot/agent.cli b/bbot/agent.cli index 2f5ad65..a5dbe01 100644 --- a/bbot/agent.cli +++ b/bbot/agent.cli @@ -42,6 +42,52 @@ namespace bbot "Run as a simple systemd daemon." } + path --auth-key + { + "<file>", + "Private key for the public key-based agent authentication. If not + specified, then the agent will not be able to request tasks from + controllers that require authentication. + + The file is expected to contain a single PEM-encoded private key + without a password. A suitable key can be generated using the + following command: + + \ + $ openssl genrsa 4096 >key.pem + \ + " + } + + path --openssl = "openssl" + { + "<path>", + "The openssl program to be used for crypto operations. You can also + specify additional options that should be passed to the openssl program + with \cb{--openssl-option}. If the openssl program is not explicitly + specified, then \cb{bbot-agent} will use \cb{openssl} by default." + } + + strings --openssl-option + { + "<opt>", + "Additional option to be passed to the openssl program (see + \cb{--openssl} for details). Repeat this option to specify multiple + openssl options." + } + + size_t --cpu = 1 + { + "<num>", + "Number of CPUs (threads) to use, 1 by default." + } + + size_t --ram (1024 * 1024) // 1G + { + "<num>", + "Amount of RAM (in kB) to use, 1G by default." + } + string --toolchain-name = "default" { "<str>", @@ -75,18 +121,6 @@ namespace bbot "Trust repository certificate with a SHA256 <fingerprint>." } - size_t --cpu = 1 - { - "<num>", - "Number of CPUs (threads) to use, 1 by default." - } - - size_t --ram (1024 * 1024) // 1G - { - "<num>", - "Amount of RAM (in kB) to use, 1G by default." - } - dir_path --machines = "/build/machines/" { "<dir>", |