carta
ostree-admin-set-default(1)

ostree-admin-set-default1

Make deployment at a given index the default for the next boot

Usage

ostree admin set-default INDEX

Overview

Make the deployment at INDEX the default for the next boot.

Examples

$ ostree admin status

        * exampleos 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
            origin refspec: exampleos/buildmain/x86_64-runtime
          exampleos ce19c41036cc45e49b0cecf6b157523c2105c4de1c.0
            origin refspec: exampleos/buildmain/x86_64-runtime

$ ostree admin set-default 1

        Transaction complete; bootconfig swap: deployment count change: 0

$ ostree admin status

exampleos ce19c41036cc45e49b0cecf6b157523c2105c4de1c.0
origin refspec: exampleos/buildmain/x86_64-runtime
* exampleos 67e382b11d213a402a5313e61cbc69dfd5ab93cb07.0
origin refspec: exampleos/buildmain/x86_64-runtime


    

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)

From ostree 2026.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.