Commit graph

2 commits

Author SHA1 Message Date
23a85a16c1
*: switch from glide to go mod
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2020-09-24 14:55:40 -04:00
Stephen Demos
af61458371 cmd: add very simple cmdline omaha server
this implementation uses the TrivialServer that is already provided by
the go-omaha library. it is a very simple wrapper, simply asking for the
file, version, and listening address on the command line. it can only
handle one package at a time, naming the payload from the server
"update.gz", which is the standard filename for the update payload. the
additional metadata required for package creation is generated based on
the provided file. when the server is setup, update_engine can be
pointed at it by setting the SERVER variable in /etc/coreos/update.conf
2017-12-07 16:16:34 -08:00