OSTREE ADMIN SET-DE(1) ostree admin set-default OSTREE ADMIN SET-DE(1)

.SH "NAME" ostree-admin-set-default - Make deployment at a given index the default for the next boot

.SH "SYNOPSIS"

.HP 600u

**ostree admin set-default** {INDEX}

.SH "DESCRIPTION"

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

.SH "EXAMPLE"

.PP **$ 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

```

```

OSTree

---

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