aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/agent.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-01-28 15:06:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-01-28 15:06:45 +0200
commit5b58e64b60410d3b763915faad484d569da26dea (patch)
tree6b7feea691ea5600e1441d8d30c980ab00e08765 /bbot/agent/agent.cli
parent0a2c63de3c508b90d168604f2a5bc1345a12f4c9 (diff)
Add ability to specify alternative bridge interface to bbot-agent
Diffstat (limited to 'bbot/agent/agent.cli')
-rw-r--r--bbot/agent/agent.cli40
1 files changed, 23 insertions, 17 deletions
diff --git a/bbot/agent/agent.cli b/bbot/agent/agent.cli
index 89fa9ff..a7a5d4c 100644
--- a/bbot/agent/agent.cli
+++ b/bbot/agent/agent.cli
@@ -49,23 +49,6 @@ 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
- \
- "
- }
-
string --toolchain-name = "default"
{
"<str>",
@@ -120,6 +103,29 @@ namespace bbot
"Amount of RAM (in kB) to use, 1G by default."
}
+ string --bridge = "br1"
+ {
+ "<iface>",
+ "Bridge interface to use for machine networking, \cb{br1} by default."
+ };
+
+ 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
+ \
+ "
+ }
+
strings --trust
{
"<fingerprint>",