Provided by: ostree_2019.1-1ubuntu1_amd64
ostree-admin-upgrade - Construct new tree from current origin and deploy it, if it changed
ostree admin upgrade [OPTIONS...]
Downloads the latest version of the current ref from the build server and deploys it, if it changed. Reboot the machine for the changes to take effect. These phases can be split via --pull-only and --deploy-only.
--os="STATEROOT" Use a different operating system root than the current one. --pull-only Only perform a pull into the repository; do not create a deployment. This option can hence safely be used in a background scheduled job with the assurance of not changing system state. --deploy-only Create a new deployment from the latest commit in the tracked origin refspec. This option is intended to be used by a scheduled system that detected changes via --pull-only, and is ready to deploy them. --reboot,-r Reboot after a successful upgrade. --allow-downgrade Permit deployment of chronologically older trees. --override-commit="CHECKSUM" Deploy CHECKSUM instead of the latest tree.
$ ostree admin upgrade No update available.