OSTREE-ADMIN-DEPLOY(1)
πΈ NAME πΈ
okay so this is the OSTREE ADMIN DEPLOY(1) manual, bestie, and the star of the show is ostree-admin-deploy β checkout a revision as the new default deployment. π
π SYNOPSIS π
ostree admin deploy [OPTIONS...] {REFSPEC}
π DESCRIPTION π
So ostree admin deploy takes a commit or revision REFSPEC, and queues the new deployment as default upon reboot. Thatβs the whole vibe. β¨
πΈ OPTIONS πΈ
--stateroot="STATEROOT"β use a different operating system stateroot than the current one.--os="STATEROOT"β alias for--stateroot. same energy, different flag name. π«Ά--origin-file="FILENAME"β useFILENAMEas the origin, which is where OSTree will look for updated versions of the tree.--retainβ do not delete previous deployment.--retain-pendingβ do not delete pending deployments.--retain-rollbackβ do not delete rollback deployments.--not-as-defaultβ append rather than prepend new deployment.--lock-finalizationβ the deployment will not be"finalized"by default on shutdown; to later queue it, useostree admin lock-finalization --unlock.--karg-proc-cmdlineβ import current/proc/cmdline.--karg="NAME=VALUE"β set kernel argument, likeroot=/dev/sda1; this overrides any earlier argument with the same name.--karg-append="NAME=VALUE"β append kernel argument; useful with e.g.console=that can be used multiple times.--karg-delete="NAME=VALUE"β delete kernel argument if exists, can be used multiple times.
π¦ EXAMPLE π¦
$ ostree admin status
* gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
origin refspec: gnome-ostree/buildmain/x86_64-runtime
gnome-ostree ce19c41036cc45e49b0cecf6b157523c2105c4de1ce3.0
origin refspec: gnome-ostree/buildmain/x86_64-runtime
$ ostree admin deploy gnome-ostree/buildmain/x86_64-runtime
ostadmin: Creating deployment /ostree/deploy/gnome-ostree/deploy/7e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
ostadmin: Processing /etc: 3 modified, 0 removed, 29 added
Transaction complete: bootconfig swap: no deployment count change: 0)
$ ostree admin status
gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.1
origin refspec: gnome-ostree/buildmain/x86_64-runtime
* gnome-ostree 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
origin refspec: gnome-ostree/buildmain/x86_64-runtime
Signed off with π from the OSTree manual, page OSTREE ADMIN DEPLOY(1) β source: OSTree; version/date: not printed in this footer, so Iβm not making one up, bestie. π«Ά
π¦ where this page comes from
- arch rolling: ostree 2026.6-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms