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
This commit is contained in:
parent
e95ad781c1
commit
af61458371
3 changed files with 73 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
pkg
|
||||
bin
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue