OSTREE ADMIN LOCK-F(1) ostree admin lock-finalization OSTREE ADMIN LOCK-F(1)

.SH "NAME" ostree-admin-lock-finalization - Change whether staged deployment will be queued for next boot

.SH "SYNOPSIS"

.HP 744u

**ostree admin lock-finalization** \[OPTIONS...]

.SH "DESCRIPTION"

.PP This command requires a staged deployment. By default, this command ensures the deployment will be set into a "finalization locked" state, which means it will not be queued for the next boot by default.

.PP This is the same as the --lock-finalization argument for ostree admin deploy, which is the recommended way to use this feature in a race-free way.

.PP However more commonly, one will use the --unlock argument for this command to later unlock a deployment which was finalization locked.

.SH "OPTIONS"

.PP **--sysroot**="PATH"

Path to the system to use rather than the current one.

.RE  
.PP **--unlock**,**-u**

Unlock the deployment finalization state.

.RE

OSTree

---

Document: ostree-admin-lock-finalization(1) from ostree 2026.4-r4 (Chainguard OS)
Source: https://github.com/ostreedev/ostree
