OSTREE-ADMIN-SET-DEFAULT(1)

🌸 NAME 🌸

ostree-admin-set-default β€” Make deployment at a given index the default for the next boot. This is the ostree admin set-default page, manual tag OSTREE ADMIN SET-DE(1) πŸ‘‘βœ¨

✨ SYNOPSIS ✨

ostree admin set-default {INDEX}

πŸ’… DESCRIPTION πŸ’…

Make the deployment at INDEX the default for the next boot. That's the whole mission, bestie β€” INDEX is the index from the synopsis, and this command makes that deployment the default for the next boot. No cap, it's literally that direct. πŸ’–

πŸŽ€ EXAMPLE πŸŽ€

Okay so here's the little before-and-after: first ostree admin status shows the deployments, then ostree admin set-default 1 does its thing, then ostree admin status again shows the new status output. Watch the * in the before-and-after ⭐

       $ 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

And that's the whole example, untouched and iconic. πŸ’…


Footer vibes: source OSTree, manual tag OSTREE ADMIN SET-DE(1), and no date in this copyβ€”so no made-up date, bestie 🫢🌈

πŸ“¦ where this page comes from