tremplin: use command-line flags for arguments

Add support for two command line flags, one for the host IP
to connect to, and a second for the IPv4 subnet to assign to LXD.

Also log to syslog by default, which is necessary to surface logs to
the host.

BUG=chromium:844079
TEST=tremplin starts via maitred

Change-Id: Ia598494aa8713ad54ba0dd6fa39560383a3c6d18
Reviewed-on: https://chromium-review.googlesource.com/1111104
Commit-Ready: Stephen Barber <smbarber@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
1 file changed
tree: 25d28c1f65ec539ab32ea00c4e58fd1a61560900
  1. src/
  2. README.md
README.md

Tremplin

Tremplin is the “springboard” daemon that runs in the Termina VM and exposes a gRPC interface for managing LXD containers.