Sponsor:

Your company here, and a link to your site. Click to find out more.

ostree-admin-set-default - Man Page

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

Synopsis

ostree admin set-default {INDEX}

Description

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

Example

$ 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

Info

ostree admin set-default