bin: add flatcar-update tool for manual updates or airgapped updates #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While updates are managed through Nebraska, not every user wants to or
can run their own service. Sometimes it would be more convenient if a
local update command exists that also supports airgapped updates or
helps a user to quickly jump between versions to reproduce an error.
Add a flatcar-update tool (similar to flatcar-install) which users can
run on the machine to force an update to a particular release or local
update payload. On old machines this script can be fetched and
executed, too, and should be CoreOS-compatible. Since update-engine
does no version check, it's also possible to downgrade with the tool.
The tool can disable updates after it ran, making it easy to do manual
updates when no own Nebraska server exists.
Docs PR: flatcar-archive/flatcar-docs#191
How to use
See
./flatcar-update -h
- depending on whether you run it from a dev image or a release image, set the force key option.Maybe consider to backport.
Testing done
A few test runs on a VM.
↓ will do in coreos-overlay
changelog/
directory (user-facing change, bug fix, security fix, update)