-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alias to pin current deployment #3142
Comments
Feel free to run with this and contribute it back @p5 We will need to also update man pages, help info (the help info is wrong in the below code). We could also de-deplicate those three for loop sections into a single function that takes either booted_deployment, pending_deployment, rollback_deployment as a pointer. Just add a: Co-authored-by: Eric Curtin [email protected] tag in the commit/PR.
|
This can be closed with: |
|
It would be good if there was a quick and easy way to pin the current deployment without needing to rely on multiple commands:
rpm-ostree status -v
- to find out which index the current deployed system isostree admin pin <index>
- to actually pin the deploymentIt would be great if there was a simple alias called
current
(or whatever you feel makes the most sense) which points to the deployed index.This could also be extended to include keywords like
previous
orstaged
, but I see less reason for this to be used.Therefore, the user could run
ostree admin pin current
and be done with it.The text was updated successfully, but these errors were encountered: