OSTREE ADMIN PREPARE(1) ostree admin prepare-soft-rebo OSTREE ADMIN PREPARE(1)

.SH "NAME" ostree-admin-prepare-soft-reboot - Prepare the target deployment (via index) for soft reboot

.SH "SYNOPSIS"

.HP 792u

**ostree admin prepare-soft-reboot** {INDEX}

.SH "DESCRIPTION"

.PP Prepare (or unset) the deployment at INDEX for a systemd soft reboot by mounting /run/nextroot. INDEX must be in range and not reference the currently booted deployment.

.PP It is not supported to soft reboot into a deployment with a different kernel state (including initramfs) than the booted one.

.PP If a soft reboot is initiated for a deployment that is not staged, while a staged deployment is active, the staged deployment will be automatically cleared.

.SH "OPTIONS"

.PP **--reboot**

Initiate a soft reboot.

.RE

.PP **--reset**

Clear a pending soft reboot state instead of initializing one. When this is provided, a deployment index is not required.

.RE

.SH "SEE ALSO"

.PP [**systemd-soft-reboot.service**(8)](/man/enterprise-packages/ostree/systemd-soft-reboot.service.8)

OSTree

---

Document: ostree-admin-prepare-soft-reboot(1) from ostree 2026.4-r3 (Chainguard OS)
Source: https://github.com/ostreedev/ostree
