-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add a builtin command to pin the current deployment? #1922
Comments
I should add that I really want a bit more than just pinning the booted deployment - actually I want to move the pin to the current deployment. |
This could probably be an rpm-ostree command, e.g.
Yeah, that's bothered me as well in the past. I think what we may want to express here is GC based on versions rather than number of deployments. So no matter the number of e.g. |
That's an attractive idea and probably better than just keeping 3 deployments. |
OK, split that one out as coreos/rpm-ostree#1905. We can keep this here to track the original request too though (though I do think we should wrap |
Would it make sense to add a built-in command (or option) to pin the current deployment?
(I actually wrote a tiny tool to do this already but in Haskell: https://github.com/juhp/ostree-pin/blob/master/Main.hs.)
I think this would be useful on Silverblue, where it is easy to "lose" one's last "good" deployment (ie with just a reboot into stage and then one more rpm-ostree operation and a reboot).
I am thinking something like
ostree admin pin --current
.The text was updated successfully, but these errors were encountered: