On CoreOS 899.15.0, how do I update a previously submitted unit file via fleetctl?
I've previously submitted the unit file [email protected], but want to update it to a revised version:
$ fleetctl list-unit-files
UNIT HASH DSTATE STATE TARGET
[email protected] 76b05ae inactive inactive -
[email protected] faa7a16 inactive inactive -
When I try to re-submit [email protected], fleetctl only warns me that the local and registry versions of it differ:
$ fleetctl submit rethinkdb\@.service
WARNING: Unit [email protected] in registry differs from local unit file [email protected]
Currently, the solution is to destroy the unit files and then re-submit them.
Coming up in fleet version v0.13 (not yet released, August 2016):
Support to replace units