From 5b58e64b60410d3b763915faad484d569da26dea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Jan 2019 15:06:45 +0200 Subject: Add ability to specify alternative bridge interface to bbot-agent --- bbot/bbot-agent@.service | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bbot/bbot-agent@.service') diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service index 58f22a5..3f4cef3 100644 --- a/bbot/bbot-agent@.service +++ b/bbot/bbot-agent@.service @@ -13,10 +13,11 @@ Type=simple Environment=VERBOSE=3 -Environment=AUTH_KEY= - Environment=CPU=1 Environment=RAM=1048576 +Environment=BRIDGE=br1 + +Environment=AUTH_KEY= Environment=BOOTSTRAP_TIMEOUT=1200 Environment=BOOTSTRAP_RETRIES=2 @@ -41,9 +42,10 @@ Environment="CONTROLLER_TRUST=" ExecStart=/build/bots/default/bin/bbot-agent \ --systemd-daemon \ --verbose ${VERBOSE} \ - --auth-key ${AUTH_KEY} \ --cpu ${CPU} \ --ram ${RAM} \ + --bridge ${BRIDGE} \ + --auth-key ${AUTH_KEY} \ --bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \ --bootstrap-retries ${BOOTSTRAP_RETRIES} \ --build-timeout ${BUILD_TIMEOUT} \ -- cgit v1.1