-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new commands to output the current, staged and previous deploymen…
…t for use in automation and scripting. Right now, it's difficult to pin the current deployment without needing to look into the output of some other tooling (like rpm-ostree) to get the index of each deployment. This index also is not consistent - the current deployment could be 0 when you first boot the system then 1 shortly after. This change makes it easy to get the index of the current or future deployment so it can be piped into other commands (such as ostree admin pin). Huge thanks to Eric for authoring this patch for me! Co-authored-by: Eric Curtin [email protected] Signed-off-by: Robert Sturla <[email protected]>
- Loading branch information
Showing
1 changed file
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters